Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterConfigDiffServiceServer(s grpc.ServiceRegistrar, srv ConfigDiffServiceServer)
- func RegisterConfigurationServiceServer(s grpc.ServiceRegistrar, srv ConfigurationServiceServer)
- func RegisterSecurityProfileDiffServiceServer(s grpc.ServiceRegistrar, srv SecurityProfileDiffServiceServer)
- func RegisterSecurityProfileDiffSummaryServiceServer(s grpc.ServiceRegistrar, srv SecurityProfileDiffSummaryServiceServer)
- func RegisterSecurityProfileServiceServer(s grpc.ServiceRegistrar, srv SecurityProfileServiceServer)
- func RegisterSummaryServiceServer(s grpc.ServiceRegistrar, srv SummaryServiceServer)
- type ConfigDiff
- func (*ConfigDiff) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiff) GetKey() *ConfigDiffKey
- func (x *ConfigDiff) GetUri() *wrapperspb.StringValue
- func (*ConfigDiff) ProtoMessage()
- func (x *ConfigDiff) ProtoReflect() protoreflect.Message
- func (x *ConfigDiff) Reset()
- func (x *ConfigDiff) String() string
- type ConfigDiffBatchedStreamRequest
- func (*ConfigDiffBatchedStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
- func (x *ConfigDiffBatchedStreamRequest) GetPartialEqFilter() []*ConfigDiff
- func (x *ConfigDiffBatchedStreamRequest) GetTime() *time.TimeBounds
- func (*ConfigDiffBatchedStreamRequest) ProtoMessage()
- func (x *ConfigDiffBatchedStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffBatchedStreamRequest) Reset()
- func (x *ConfigDiffBatchedStreamRequest) String() string
- type ConfigDiffBatchedStreamResponse
- func (*ConfigDiffBatchedStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffBatchedStreamResponse) GetResponses() []*ConfigDiffStreamResponse
- func (*ConfigDiffBatchedStreamResponse) ProtoMessage()
- func (x *ConfigDiffBatchedStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffBatchedStreamResponse) Reset()
- func (x *ConfigDiffBatchedStreamResponse) String() string
- type ConfigDiffKey
- func (*ConfigDiffKey) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffKey) GetADeviceId() *wrapperspb.StringValue
- func (x *ConfigDiffKey) GetATime() *timestamppb.Timestamp
- func (x *ConfigDiffKey) GetAType() ConfigType
- func (x *ConfigDiffKey) GetBDeviceId() *wrapperspb.StringValue
- func (x *ConfigDiffKey) GetBTime() *timestamppb.Timestamp
- func (x *ConfigDiffKey) GetBType() ConfigType
- func (*ConfigDiffKey) ProtoMessage()
- func (x *ConfigDiffKey) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffKey) Reset()
- func (x *ConfigDiffKey) String() string
- type ConfigDiffRequest
- func (*ConfigDiffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffRequest) GetKey() *ConfigDiffKey
- func (x *ConfigDiffRequest) GetTime() *timestamppb.Timestamp
- func (*ConfigDiffRequest) ProtoMessage()
- func (x *ConfigDiffRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffRequest) Reset()
- func (x *ConfigDiffRequest) String() string
- type ConfigDiffResponse
- func (*ConfigDiffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffResponse) GetTime() *timestamppb.Timestamp
- func (x *ConfigDiffResponse) GetValue() *ConfigDiff
- func (*ConfigDiffResponse) ProtoMessage()
- func (x *ConfigDiffResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffResponse) Reset()
- func (x *ConfigDiffResponse) String() string
- type ConfigDiffServiceClient
- type ConfigDiffServiceServer
- type ConfigDiffService_GetAllBatchedClient
- type ConfigDiffService_GetAllBatchedServer
- type ConfigDiffService_GetAllClient
- type ConfigDiffService_GetAllServer
- type ConfigDiffService_GetSomeClient
- type ConfigDiffService_GetSomeServer
- type ConfigDiffService_SubscribeBatchedClient
- type ConfigDiffService_SubscribeBatchedServer
- type ConfigDiffService_SubscribeClient
- type ConfigDiffService_SubscribeMetaClient
- type ConfigDiffService_SubscribeMetaServer
- type ConfigDiffService_SubscribeServer
- type ConfigDiffSomeRequest
- func (*ConfigDiffSomeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffSomeRequest) GetKeys() []*ConfigDiffKey
- func (x *ConfigDiffSomeRequest) GetTime() *timestamppb.Timestamp
- func (*ConfigDiffSomeRequest) ProtoMessage()
- func (x *ConfigDiffSomeRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffSomeRequest) Reset()
- func (x *ConfigDiffSomeRequest) String() string
- type ConfigDiffSomeResponse
- func (*ConfigDiffSomeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffSomeResponse) GetError() *wrapperspb.StringValue
- func (x *ConfigDiffSomeResponse) GetTime() *timestamppb.Timestamp
- func (x *ConfigDiffSomeResponse) GetValue() *ConfigDiff
- func (*ConfigDiffSomeResponse) ProtoMessage()
- func (x *ConfigDiffSomeResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffSomeResponse) Reset()
- func (x *ConfigDiffSomeResponse) String() string
- type ConfigDiffStreamRequest
- func (*ConfigDiffStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffStreamRequest) GetPartialEqFilter() []*ConfigDiff
- func (x *ConfigDiffStreamRequest) GetTime() *time.TimeBounds
- func (*ConfigDiffStreamRequest) ProtoMessage()
- func (x *ConfigDiffStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffStreamRequest) Reset()
- func (x *ConfigDiffStreamRequest) String() string
- type ConfigDiffStreamResponse
- func (*ConfigDiffStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigDiffStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *ConfigDiffStreamResponse) GetType() subscriptions.Operation
- func (x *ConfigDiffStreamResponse) GetValue() *ConfigDiff
- func (*ConfigDiffStreamResponse) ProtoMessage()
- func (x *ConfigDiffStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigDiffStreamResponse) Reset()
- func (x *ConfigDiffStreamResponse) String() string
- type ConfigError
- func (*ConfigError) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigError) GetConfigletName() *wrapperspb.StringValue
- func (x *ConfigError) GetErrorCode() ErrorCode
- func (x *ConfigError) GetErrorMsg() *wrapperspb.StringValue
- func (x *ConfigError) GetLineNum() *wrapperspb.Int32Value
- func (*ConfigError) ProtoMessage()
- func (x *ConfigError) ProtoReflect() protoreflect.Message
- func (x *ConfigError) Reset()
- func (x *ConfigError) String() string
- type ConfigErrors
- type ConfigFilterCode
- func (ConfigFilterCode) Descriptor() protoreflect.EnumDescriptor
- func (x ConfigFilterCode) Enum() *ConfigFilterCode
- func (ConfigFilterCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfigFilterCode) Number() protoreflect.EnumNumber
- func (x ConfigFilterCode) String() string
- func (ConfigFilterCode) Type() protoreflect.EnumType
- type ConfigKey
- func (*ConfigKey) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigKey) GetDeviceId() *wrapperspb.StringValue
- func (x *ConfigKey) GetType() ConfigType
- func (*ConfigKey) ProtoMessage()
- func (x *ConfigKey) ProtoReflect() protoreflect.Message
- func (x *ConfigKey) Reset()
- func (x *ConfigKey) String() string
- type ConfigSource
- func (*ConfigSource) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigSource) GetSourceId() *wrapperspb.StringValue
- func (x *ConfigSource) GetSourceType() ConfigSourceType
- func (*ConfigSource) ProtoMessage()
- func (x *ConfigSource) ProtoReflect() protoreflect.Message
- func (x *ConfigSource) Reset()
- func (x *ConfigSource) String() string
- type ConfigSourceType
- func (ConfigSourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ConfigSourceType) Enum() *ConfigSourceType
- func (ConfigSourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfigSourceType) Number() protoreflect.EnumNumber
- func (x ConfigSourceType) String() string
- func (ConfigSourceType) Type() protoreflect.EnumType
- type ConfigSources
- type ConfigSummary
- func (*ConfigSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigSummary) GetAddedLines() *wrapperspb.Int32Value
- func (x *ConfigSummary) GetChangedLines() *wrapperspb.Int32Value
- func (x *ConfigSummary) GetDeletedLines() *wrapperspb.Int32Value
- func (x *ConfigSummary) GetDesignedConfigErrors() *wrapperspb.Int32Value
- func (x *ConfigSummary) GetDesignedConfigUpdateTime() *timestamppb.Timestamp
- func (x *ConfigSummary) GetDesignedConfigUri() *wrapperspb.StringValue
- func (x *ConfigSummary) GetDesignedConfigWarnings() *wrapperspb.Int32Value
- func (x *ConfigSummary) GetDiffUri() *wrapperspb.StringValue
- func (x *ConfigSummary) GetDigest() *wrapperspb.StringValue
- func (x *ConfigSummary) GetIgnoredLines() *wrapperspb.Int32Value
- func (x *ConfigSummary) GetNopLines() *wrapperspb.Int32Value
- func (x *ConfigSummary) GetRunningConfigUpdateTime() *timestamppb.Timestamp
- func (x *ConfigSummary) GetRunningConfigUri() *wrapperspb.StringValue
- func (x *ConfigSummary) GetSync() ConfigSyncCode
- func (*ConfigSummary) ProtoMessage()
- func (x *ConfigSummary) ProtoReflect() protoreflect.Message
- func (x *ConfigSummary) Reset()
- func (x *ConfigSummary) String() string
- type ConfigSyncCode
- func (ConfigSyncCode) Descriptor() protoreflect.EnumDescriptor
- func (x ConfigSyncCode) Enum() *ConfigSyncCode
- func (ConfigSyncCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfigSyncCode) Number() protoreflect.EnumNumber
- func (x ConfigSyncCode) String() string
- func (ConfigSyncCode) Type() protoreflect.EnumType
- type ConfigType
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetKey() *ConfigKey
- func (x *Configuration) GetUri() *wrapperspb.StringValue
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type ConfigurationBatchedStreamRequest
- func (*ConfigurationBatchedStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
- func (x *ConfigurationBatchedStreamRequest) GetPartialEqFilter() []*Configuration
- func (x *ConfigurationBatchedStreamRequest) GetTime() *time.TimeBounds
- func (*ConfigurationBatchedStreamRequest) ProtoMessage()
- func (x *ConfigurationBatchedStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigurationBatchedStreamRequest) Reset()
- func (x *ConfigurationBatchedStreamRequest) String() string
- type ConfigurationBatchedStreamResponse
- func (*ConfigurationBatchedStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationBatchedStreamResponse) GetResponses() []*ConfigurationStreamResponse
- func (*ConfigurationBatchedStreamResponse) ProtoMessage()
- func (x *ConfigurationBatchedStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigurationBatchedStreamResponse) Reset()
- func (x *ConfigurationBatchedStreamResponse) String() string
- type ConfigurationRequest
- func (*ConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationRequest) GetKey() *ConfigKey
- func (x *ConfigurationRequest) GetTime() *timestamppb.Timestamp
- func (*ConfigurationRequest) ProtoMessage()
- func (x *ConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigurationRequest) Reset()
- func (x *ConfigurationRequest) String() string
- type ConfigurationResponse
- func (*ConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationResponse) GetTime() *timestamppb.Timestamp
- func (x *ConfigurationResponse) GetValue() *Configuration
- func (*ConfigurationResponse) ProtoMessage()
- func (x *ConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigurationResponse) Reset()
- func (x *ConfigurationResponse) String() string
- type ConfigurationServiceClient
- type ConfigurationServiceServer
- type ConfigurationService_GetAllBatchedClient
- type ConfigurationService_GetAllBatchedServer
- type ConfigurationService_GetAllClient
- type ConfigurationService_GetAllServer
- type ConfigurationService_GetSomeClient
- type ConfigurationService_GetSomeServer
- type ConfigurationService_SubscribeBatchedClient
- type ConfigurationService_SubscribeBatchedServer
- type ConfigurationService_SubscribeClient
- type ConfigurationService_SubscribeMetaClient
- type ConfigurationService_SubscribeMetaServer
- type ConfigurationService_SubscribeServer
- type ConfigurationSomeRequest
- func (*ConfigurationSomeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationSomeRequest) GetKeys() []*ConfigKey
- func (x *ConfigurationSomeRequest) GetTime() *timestamppb.Timestamp
- func (*ConfigurationSomeRequest) ProtoMessage()
- func (x *ConfigurationSomeRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigurationSomeRequest) Reset()
- func (x *ConfigurationSomeRequest) String() string
- type ConfigurationSomeResponse
- func (*ConfigurationSomeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationSomeResponse) GetError() *wrapperspb.StringValue
- func (x *ConfigurationSomeResponse) GetTime() *timestamppb.Timestamp
- func (x *ConfigurationSomeResponse) GetValue() *Configuration
- func (*ConfigurationSomeResponse) ProtoMessage()
- func (x *ConfigurationSomeResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigurationSomeResponse) Reset()
- func (x *ConfigurationSomeResponse) String() string
- type ConfigurationStreamRequest
- func (*ConfigurationStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationStreamRequest) GetPartialEqFilter() []*Configuration
- func (x *ConfigurationStreamRequest) GetTime() *time.TimeBounds
- func (*ConfigurationStreamRequest) ProtoMessage()
- func (x *ConfigurationStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigurationStreamRequest) Reset()
- func (x *ConfigurationStreamRequest) String() string
- type ConfigurationStreamResponse
- func (*ConfigurationStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *ConfigurationStreamResponse) GetType() subscriptions.Operation
- func (x *ConfigurationStreamResponse) GetValue() *Configuration
- func (*ConfigurationStreamResponse) ProtoMessage()
- func (x *ConfigurationStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigurationStreamResponse) Reset()
- func (x *ConfigurationStreamResponse) String() string
- type DiffEntries
- type DiffEntry
- func (*DiffEntry) Descriptor() ([]byte, []int)deprecated
- func (x *DiffEntry) GetAFilterCode() ConfigFilterCode
- func (x *DiffEntry) GetALine() *wrapperspb.StringValue
- func (x *DiffEntry) GetALineNum() *wrapperspb.Int32Value
- func (x *DiffEntry) GetAParentLineNum() *wrapperspb.Int32Value
- func (x *DiffEntry) GetBFilterCode() ConfigFilterCode
- func (x *DiffEntry) GetBLine() *wrapperspb.StringValue
- func (x *DiffEntry) GetBLineNum() *wrapperspb.Int32Value
- func (x *DiffEntry) GetBParentLineNum() *wrapperspb.Int32Value
- func (x *DiffEntry) GetOp() DiffOp
- func (*DiffEntry) ProtoMessage()
- func (x *DiffEntry) ProtoReflect() protoreflect.Message
- func (x *DiffEntry) Reset()
- func (x *DiffEntry) String() string
- type DiffOp
- type ErrorCode
- type MetaResponse
- func (*MetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MetaResponse) GetCount() *wrapperspb.UInt32Value
- func (x *MetaResponse) GetTime() *timestamppb.Timestamp
- func (x *MetaResponse) GetType() subscriptions.Operation
- func (*MetaResponse) ProtoMessage()
- func (x *MetaResponse) ProtoReflect() protoreflect.Message
- func (x *MetaResponse) Reset()
- func (x *MetaResponse) String() string
- type SecurityProfile
- func (*SecurityProfile) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfile) GetConfig() *wrapperspb.StringValue
- func (x *SecurityProfile) GetKey() *ConfigKey
- func (*SecurityProfile) ProtoMessage()
- func (x *SecurityProfile) ProtoReflect() protoreflect.Message
- func (x *SecurityProfile) Reset()
- func (x *SecurityProfile) String() string
- type SecurityProfileBatchedStreamRequest
- func (*SecurityProfileBatchedStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
- func (x *SecurityProfileBatchedStreamRequest) GetPartialEqFilter() []*SecurityProfile
- func (x *SecurityProfileBatchedStreamRequest) GetTime() *time.TimeBounds
- func (*SecurityProfileBatchedStreamRequest) ProtoMessage()
- func (x *SecurityProfileBatchedStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileBatchedStreamRequest) Reset()
- func (x *SecurityProfileBatchedStreamRequest) String() string
- type SecurityProfileBatchedStreamResponse
- func (*SecurityProfileBatchedStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileBatchedStreamResponse) GetResponses() []*SecurityProfileStreamResponse
- func (*SecurityProfileBatchedStreamResponse) ProtoMessage()
- func (x *SecurityProfileBatchedStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileBatchedStreamResponse) Reset()
- func (x *SecurityProfileBatchedStreamResponse) String() string
- type SecurityProfileComplianceSummary
- func (*SecurityProfileComplianceSummary) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileComplianceSummary) GetAddedLines() *wrapperspb.Int32Value
- func (x *SecurityProfileComplianceSummary) GetChangedLines() *wrapperspb.Int32Value
- func (x *SecurityProfileComplianceSummary) GetDeletedLines() *wrapperspb.Int32Value
- func (x *SecurityProfileComplianceSummary) GetDesignedConfigUpdateTime() *timestamppb.Timestamp
- func (x *SecurityProfileComplianceSummary) GetDigest() *wrapperspb.StringValue
- func (x *SecurityProfileComplianceSummary) GetIgnoredLines() *wrapperspb.Int32Value
- func (x *SecurityProfileComplianceSummary) GetNopLines() *wrapperspb.Int32Value
- func (x *SecurityProfileComplianceSummary) GetRunningConfigUpdateTime() *timestamppb.Timestamp
- func (x *SecurityProfileComplianceSummary) GetSync() ConfigSyncCode
- func (*SecurityProfileComplianceSummary) ProtoMessage()
- func (x *SecurityProfileComplianceSummary) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileComplianceSummary) Reset()
- func (x *SecurityProfileComplianceSummary) String() string
- type SecurityProfileDiff
- func (*SecurityProfileDiff) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiff) GetDiff() *DiffEntries
- func (x *SecurityProfileDiff) GetKey() *ConfigDiffKey
- func (*SecurityProfileDiff) ProtoMessage()
- func (x *SecurityProfileDiff) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiff) Reset()
- func (x *SecurityProfileDiff) String() string
- type SecurityProfileDiffBatchedStreamRequest
- func (*SecurityProfileDiffBatchedStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
- func (x *SecurityProfileDiffBatchedStreamRequest) GetPartialEqFilter() []*SecurityProfileDiff
- func (x *SecurityProfileDiffBatchedStreamRequest) GetTime() *time.TimeBounds
- func (*SecurityProfileDiffBatchedStreamRequest) ProtoMessage()
- func (x *SecurityProfileDiffBatchedStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffBatchedStreamRequest) Reset()
- func (x *SecurityProfileDiffBatchedStreamRequest) String() string
- type SecurityProfileDiffBatchedStreamResponse
- func (*SecurityProfileDiffBatchedStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffBatchedStreamResponse) GetResponses() []*SecurityProfileDiffStreamResponse
- func (*SecurityProfileDiffBatchedStreamResponse) ProtoMessage()
- func (x *SecurityProfileDiffBatchedStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffBatchedStreamResponse) Reset()
- func (x *SecurityProfileDiffBatchedStreamResponse) String() string
- type SecurityProfileDiffRequest
- func (*SecurityProfileDiffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffRequest) GetKey() *ConfigDiffKey
- func (x *SecurityProfileDiffRequest) GetTime() *timestamppb.Timestamp
- func (*SecurityProfileDiffRequest) ProtoMessage()
- func (x *SecurityProfileDiffRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffRequest) Reset()
- func (x *SecurityProfileDiffRequest) String() string
- type SecurityProfileDiffResponse
- func (*SecurityProfileDiffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileDiffResponse) GetValue() *SecurityProfileDiff
- func (*SecurityProfileDiffResponse) ProtoMessage()
- func (x *SecurityProfileDiffResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffResponse) Reset()
- func (x *SecurityProfileDiffResponse) String() string
- type SecurityProfileDiffServiceClient
- type SecurityProfileDiffServiceServer
- type SecurityProfileDiffService_GetAllBatchedClient
- type SecurityProfileDiffService_GetAllBatchedServer
- type SecurityProfileDiffService_GetAllClient
- type SecurityProfileDiffService_GetAllServer
- type SecurityProfileDiffService_GetSomeClient
- type SecurityProfileDiffService_GetSomeServer
- type SecurityProfileDiffService_SubscribeBatchedClient
- type SecurityProfileDiffService_SubscribeBatchedServer
- type SecurityProfileDiffService_SubscribeClient
- type SecurityProfileDiffService_SubscribeMetaClient
- type SecurityProfileDiffService_SubscribeMetaServer
- type SecurityProfileDiffService_SubscribeServer
- type SecurityProfileDiffSomeRequest
- func (*SecurityProfileDiffSomeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSomeRequest) GetKeys() []*ConfigDiffKey
- func (x *SecurityProfileDiffSomeRequest) GetTime() *timestamppb.Timestamp
- func (*SecurityProfileDiffSomeRequest) ProtoMessage()
- func (x *SecurityProfileDiffSomeRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSomeRequest) Reset()
- func (x *SecurityProfileDiffSomeRequest) String() string
- type SecurityProfileDiffSomeResponse
- func (*SecurityProfileDiffSomeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSomeResponse) GetError() *wrapperspb.StringValue
- func (x *SecurityProfileDiffSomeResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileDiffSomeResponse) GetValue() *SecurityProfileDiff
- func (*SecurityProfileDiffSomeResponse) ProtoMessage()
- func (x *SecurityProfileDiffSomeResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSomeResponse) Reset()
- func (x *SecurityProfileDiffSomeResponse) String() string
- type SecurityProfileDiffStreamRequest
- func (*SecurityProfileDiffStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffStreamRequest) GetPartialEqFilter() []*SecurityProfileDiff
- func (x *SecurityProfileDiffStreamRequest) GetTime() *time.TimeBounds
- func (*SecurityProfileDiffStreamRequest) ProtoMessage()
- func (x *SecurityProfileDiffStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffStreamRequest) Reset()
- func (x *SecurityProfileDiffStreamRequest) String() string
- type SecurityProfileDiffStreamResponse
- func (*SecurityProfileDiffStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileDiffStreamResponse) GetType() subscriptions.Operation
- func (x *SecurityProfileDiffStreamResponse) GetValue() *SecurityProfileDiff
- func (*SecurityProfileDiffStreamResponse) ProtoMessage()
- func (x *SecurityProfileDiffStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffStreamResponse) Reset()
- func (x *SecurityProfileDiffStreamResponse) String() string
- type SecurityProfileDiffSummary
- func (*SecurityProfileDiffSummary) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummary) GetKey() *SummaryKey
- func (x *SecurityProfileDiffSummary) GetSummary() *SecurityProfileComplianceSummary
- func (*SecurityProfileDiffSummary) ProtoMessage()
- func (x *SecurityProfileDiffSummary) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummary) Reset()
- func (x *SecurityProfileDiffSummary) String() string
- type SecurityProfileDiffSummaryBatchedStreamRequest
- func (*SecurityProfileDiffSummaryBatchedStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummaryBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
- func (x *SecurityProfileDiffSummaryBatchedStreamRequest) GetPartialEqFilter() []*SecurityProfileDiffSummary
- func (x *SecurityProfileDiffSummaryBatchedStreamRequest) GetTime() *time.TimeBounds
- func (*SecurityProfileDiffSummaryBatchedStreamRequest) ProtoMessage()
- func (x *SecurityProfileDiffSummaryBatchedStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummaryBatchedStreamRequest) Reset()
- func (x *SecurityProfileDiffSummaryBatchedStreamRequest) String() string
- type SecurityProfileDiffSummaryBatchedStreamResponse
- func (*SecurityProfileDiffSummaryBatchedStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummaryBatchedStreamResponse) GetResponses() []*SecurityProfileDiffSummaryStreamResponse
- func (*SecurityProfileDiffSummaryBatchedStreamResponse) ProtoMessage()
- func (x *SecurityProfileDiffSummaryBatchedStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummaryBatchedStreamResponse) Reset()
- func (x *SecurityProfileDiffSummaryBatchedStreamResponse) String() string
- type SecurityProfileDiffSummaryRequest
- func (*SecurityProfileDiffSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummaryRequest) GetKey() *SummaryKey
- func (x *SecurityProfileDiffSummaryRequest) GetTime() *timestamppb.Timestamp
- func (*SecurityProfileDiffSummaryRequest) ProtoMessage()
- func (x *SecurityProfileDiffSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummaryRequest) Reset()
- func (x *SecurityProfileDiffSummaryRequest) String() string
- type SecurityProfileDiffSummaryResponse
- func (*SecurityProfileDiffSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummaryResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileDiffSummaryResponse) GetValue() *SecurityProfileDiffSummary
- func (*SecurityProfileDiffSummaryResponse) ProtoMessage()
- func (x *SecurityProfileDiffSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummaryResponse) Reset()
- func (x *SecurityProfileDiffSummaryResponse) String() string
- type SecurityProfileDiffSummaryServiceClient
- type SecurityProfileDiffSummaryServiceServer
- type SecurityProfileDiffSummaryService_GetAllBatchedClient
- type SecurityProfileDiffSummaryService_GetAllBatchedServer
- type SecurityProfileDiffSummaryService_GetAllClient
- type SecurityProfileDiffSummaryService_GetAllServer
- type SecurityProfileDiffSummaryService_GetSomeClient
- type SecurityProfileDiffSummaryService_GetSomeServer
- type SecurityProfileDiffSummaryService_SubscribeBatchedClient
- type SecurityProfileDiffSummaryService_SubscribeBatchedServer
- type SecurityProfileDiffSummaryService_SubscribeClient
- type SecurityProfileDiffSummaryService_SubscribeMetaClient
- type SecurityProfileDiffSummaryService_SubscribeMetaServer
- type SecurityProfileDiffSummaryService_SubscribeServer
- type SecurityProfileDiffSummarySomeRequest
- func (*SecurityProfileDiffSummarySomeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummarySomeRequest) GetKeys() []*SummaryKey
- func (x *SecurityProfileDiffSummarySomeRequest) GetTime() *timestamppb.Timestamp
- func (*SecurityProfileDiffSummarySomeRequest) ProtoMessage()
- func (x *SecurityProfileDiffSummarySomeRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummarySomeRequest) Reset()
- func (x *SecurityProfileDiffSummarySomeRequest) String() string
- type SecurityProfileDiffSummarySomeResponse
- func (*SecurityProfileDiffSummarySomeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummarySomeResponse) GetError() *wrapperspb.StringValue
- func (x *SecurityProfileDiffSummarySomeResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileDiffSummarySomeResponse) GetValue() *SecurityProfileDiffSummary
- func (*SecurityProfileDiffSummarySomeResponse) ProtoMessage()
- func (x *SecurityProfileDiffSummarySomeResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummarySomeResponse) Reset()
- func (x *SecurityProfileDiffSummarySomeResponse) String() string
- type SecurityProfileDiffSummaryStreamRequest
- func (*SecurityProfileDiffSummaryStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummaryStreamRequest) GetPartialEqFilter() []*SecurityProfileDiffSummary
- func (x *SecurityProfileDiffSummaryStreamRequest) GetTime() *time.TimeBounds
- func (*SecurityProfileDiffSummaryStreamRequest) ProtoMessage()
- func (x *SecurityProfileDiffSummaryStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummaryStreamRequest) Reset()
- func (x *SecurityProfileDiffSummaryStreamRequest) String() string
- type SecurityProfileDiffSummaryStreamResponse
- func (*SecurityProfileDiffSummaryStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileDiffSummaryStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileDiffSummaryStreamResponse) GetType() subscriptions.Operation
- func (x *SecurityProfileDiffSummaryStreamResponse) GetValue() *SecurityProfileDiffSummary
- func (*SecurityProfileDiffSummaryStreamResponse) ProtoMessage()
- func (x *SecurityProfileDiffSummaryStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileDiffSummaryStreamResponse) Reset()
- func (x *SecurityProfileDiffSummaryStreamResponse) String() string
- type SecurityProfileRequest
- func (*SecurityProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileRequest) GetKey() *ConfigKey
- func (x *SecurityProfileRequest) GetTime() *timestamppb.Timestamp
- func (*SecurityProfileRequest) ProtoMessage()
- func (x *SecurityProfileRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileRequest) Reset()
- func (x *SecurityProfileRequest) String() string
- type SecurityProfileResponse
- func (*SecurityProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileResponse) GetValue() *SecurityProfile
- func (*SecurityProfileResponse) ProtoMessage()
- func (x *SecurityProfileResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileResponse) Reset()
- func (x *SecurityProfileResponse) String() string
- type SecurityProfileServiceClient
- type SecurityProfileServiceServer
- type SecurityProfileService_GetAllBatchedClient
- type SecurityProfileService_GetAllBatchedServer
- type SecurityProfileService_GetAllClient
- type SecurityProfileService_GetAllServer
- type SecurityProfileService_GetSomeClient
- type SecurityProfileService_GetSomeServer
- type SecurityProfileService_SubscribeBatchedClient
- type SecurityProfileService_SubscribeBatchedServer
- type SecurityProfileService_SubscribeClient
- type SecurityProfileService_SubscribeMetaClient
- type SecurityProfileService_SubscribeMetaServer
- type SecurityProfileService_SubscribeServer
- type SecurityProfileSomeRequest
- func (*SecurityProfileSomeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileSomeRequest) GetKeys() []*ConfigKey
- func (x *SecurityProfileSomeRequest) GetTime() *timestamppb.Timestamp
- func (*SecurityProfileSomeRequest) ProtoMessage()
- func (x *SecurityProfileSomeRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileSomeRequest) Reset()
- func (x *SecurityProfileSomeRequest) String() string
- type SecurityProfileSomeResponse
- func (*SecurityProfileSomeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileSomeResponse) GetError() *wrapperspb.StringValue
- func (x *SecurityProfileSomeResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileSomeResponse) GetValue() *SecurityProfile
- func (*SecurityProfileSomeResponse) ProtoMessage()
- func (x *SecurityProfileSomeResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileSomeResponse) Reset()
- func (x *SecurityProfileSomeResponse) String() string
- type SecurityProfileStreamRequest
- func (*SecurityProfileStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileStreamRequest) GetPartialEqFilter() []*SecurityProfile
- func (x *SecurityProfileStreamRequest) GetTime() *time.TimeBounds
- func (*SecurityProfileStreamRequest) ProtoMessage()
- func (x *SecurityProfileStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileStreamRequest) Reset()
- func (x *SecurityProfileStreamRequest) String() string
- type SecurityProfileStreamResponse
- func (*SecurityProfileStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfileStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *SecurityProfileStreamResponse) GetType() subscriptions.Operation
- func (x *SecurityProfileStreamResponse) GetValue() *SecurityProfile
- func (*SecurityProfileStreamResponse) ProtoMessage()
- func (x *SecurityProfileStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SecurityProfileStreamResponse) Reset()
- func (x *SecurityProfileStreamResponse) String() string
- type Summary
- type SummaryBatchedStreamRequest
- func (*SummaryBatchedStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SummaryBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
- func (x *SummaryBatchedStreamRequest) GetPartialEqFilter() []*Summary
- func (x *SummaryBatchedStreamRequest) GetTime() *time.TimeBounds
- func (*SummaryBatchedStreamRequest) ProtoMessage()
- func (x *SummaryBatchedStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SummaryBatchedStreamRequest) Reset()
- func (x *SummaryBatchedStreamRequest) String() string
- type SummaryBatchedStreamResponse
- func (*SummaryBatchedStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SummaryBatchedStreamResponse) GetResponses() []*SummaryStreamResponse
- func (*SummaryBatchedStreamResponse) ProtoMessage()
- func (x *SummaryBatchedStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SummaryBatchedStreamResponse) Reset()
- func (x *SummaryBatchedStreamResponse) String() string
- type SummaryKey
- type SummaryRequest
- func (*SummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SummaryRequest) GetKey() *SummaryKey
- func (x *SummaryRequest) GetTime() *timestamppb.Timestamp
- func (*SummaryRequest) ProtoMessage()
- func (x *SummaryRequest) ProtoReflect() protoreflect.Message
- func (x *SummaryRequest) Reset()
- func (x *SummaryRequest) String() string
- type SummaryResponse
- func (*SummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SummaryResponse) GetTime() *timestamppb.Timestamp
- func (x *SummaryResponse) GetValue() *Summary
- func (*SummaryResponse) ProtoMessage()
- func (x *SummaryResponse) ProtoReflect() protoreflect.Message
- func (x *SummaryResponse) Reset()
- func (x *SummaryResponse) String() string
- type SummaryServiceClient
- type SummaryServiceServer
- type SummaryService_GetAllBatchedClient
- type SummaryService_GetAllBatchedServer
- type SummaryService_GetAllClient
- type SummaryService_GetAllServer
- type SummaryService_GetSomeClient
- type SummaryService_GetSomeServer
- type SummaryService_SubscribeBatchedClient
- type SummaryService_SubscribeBatchedServer
- type SummaryService_SubscribeClient
- type SummaryService_SubscribeMetaClient
- type SummaryService_SubscribeMetaServer
- type SummaryService_SubscribeServer
- type SummarySomeRequest
- func (*SummarySomeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SummarySomeRequest) GetKeys() []*SummaryKey
- func (x *SummarySomeRequest) GetTime() *timestamppb.Timestamp
- func (*SummarySomeRequest) ProtoMessage()
- func (x *SummarySomeRequest) ProtoReflect() protoreflect.Message
- func (x *SummarySomeRequest) Reset()
- func (x *SummarySomeRequest) String() string
- type SummarySomeResponse
- func (*SummarySomeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SummarySomeResponse) GetError() *wrapperspb.StringValue
- func (x *SummarySomeResponse) GetTime() *timestamppb.Timestamp
- func (x *SummarySomeResponse) GetValue() *Summary
- func (*SummarySomeResponse) ProtoMessage()
- func (x *SummarySomeResponse) ProtoReflect() protoreflect.Message
- func (x *SummarySomeResponse) Reset()
- func (x *SummarySomeResponse) String() string
- type SummaryStreamRequest
- func (*SummaryStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SummaryStreamRequest) GetPartialEqFilter() []*Summary
- func (x *SummaryStreamRequest) GetTime() *time.TimeBounds
- func (*SummaryStreamRequest) ProtoMessage()
- func (x *SummaryStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SummaryStreamRequest) Reset()
- func (x *SummaryStreamRequest) String() string
- type SummaryStreamResponse
- func (*SummaryStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SummaryStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *SummaryStreamResponse) GetType() subscriptions.Operation
- func (x *SummaryStreamResponse) GetValue() *Summary
- func (*SummaryStreamResponse) ProtoMessage()
- func (x *SummaryStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SummaryStreamResponse) Reset()
- func (x *SummaryStreamResponse) String() string
- type UnimplementedConfigDiffServiceServer
- func (UnimplementedConfigDiffServiceServer) GetAll(*ConfigDiffStreamRequest, ConfigDiffService_GetAllServer) error
- func (UnimplementedConfigDiffServiceServer) GetAllBatched(*ConfigDiffBatchedStreamRequest, ConfigDiffService_GetAllBatchedServer) error
- func (UnimplementedConfigDiffServiceServer) GetMeta(context.Context, *ConfigDiffStreamRequest) (*MetaResponse, error)
- func (UnimplementedConfigDiffServiceServer) GetOne(context.Context, *ConfigDiffRequest) (*ConfigDiffResponse, error)
- func (UnimplementedConfigDiffServiceServer) GetSome(*ConfigDiffSomeRequest, ConfigDiffService_GetSomeServer) error
- func (UnimplementedConfigDiffServiceServer) Subscribe(*ConfigDiffStreamRequest, ConfigDiffService_SubscribeServer) error
- func (UnimplementedConfigDiffServiceServer) SubscribeBatched(*ConfigDiffBatchedStreamRequest, ConfigDiffService_SubscribeBatchedServer) error
- func (UnimplementedConfigDiffServiceServer) SubscribeMeta(*ConfigDiffStreamRequest, ConfigDiffService_SubscribeMetaServer) error
- type UnimplementedConfigurationServiceServer
- func (UnimplementedConfigurationServiceServer) GetAll(*ConfigurationStreamRequest, ConfigurationService_GetAllServer) error
- func (UnimplementedConfigurationServiceServer) GetAllBatched(*ConfigurationBatchedStreamRequest, ConfigurationService_GetAllBatchedServer) error
- func (UnimplementedConfigurationServiceServer) GetMeta(context.Context, *ConfigurationStreamRequest) (*MetaResponse, error)
- func (UnimplementedConfigurationServiceServer) GetOne(context.Context, *ConfigurationRequest) (*ConfigurationResponse, error)
- func (UnimplementedConfigurationServiceServer) GetSome(*ConfigurationSomeRequest, ConfigurationService_GetSomeServer) error
- func (UnimplementedConfigurationServiceServer) Subscribe(*ConfigurationStreamRequest, ConfigurationService_SubscribeServer) error
- func (UnimplementedConfigurationServiceServer) SubscribeBatched(*ConfigurationBatchedStreamRequest, ...) error
- func (UnimplementedConfigurationServiceServer) SubscribeMeta(*ConfigurationStreamRequest, ConfigurationService_SubscribeMetaServer) error
- type UnimplementedSecurityProfileDiffServiceServer
- func (UnimplementedSecurityProfileDiffServiceServer) GetAll(*SecurityProfileDiffStreamRequest, SecurityProfileDiffService_GetAllServer) error
- func (UnimplementedSecurityProfileDiffServiceServer) GetAllBatched(*SecurityProfileDiffBatchedStreamRequest, ...) error
- func (UnimplementedSecurityProfileDiffServiceServer) GetMeta(context.Context, *SecurityProfileDiffStreamRequest) (*MetaResponse, error)
- func (UnimplementedSecurityProfileDiffServiceServer) GetOne(context.Context, *SecurityProfileDiffRequest) (*SecurityProfileDiffResponse, error)
- func (UnimplementedSecurityProfileDiffServiceServer) GetSome(*SecurityProfileDiffSomeRequest, SecurityProfileDiffService_GetSomeServer) error
- func (UnimplementedSecurityProfileDiffServiceServer) Subscribe(*SecurityProfileDiffStreamRequest, SecurityProfileDiffService_SubscribeServer) error
- func (UnimplementedSecurityProfileDiffServiceServer) SubscribeBatched(*SecurityProfileDiffBatchedStreamRequest, ...) error
- func (UnimplementedSecurityProfileDiffServiceServer) SubscribeMeta(*SecurityProfileDiffStreamRequest, ...) error
- type UnimplementedSecurityProfileDiffSummaryServiceServer
- func (UnimplementedSecurityProfileDiffSummaryServiceServer) GetAll(*SecurityProfileDiffSummaryStreamRequest, ...) error
- func (UnimplementedSecurityProfileDiffSummaryServiceServer) GetAllBatched(*SecurityProfileDiffSummaryBatchedStreamRequest, ...) error
- func (UnimplementedSecurityProfileDiffSummaryServiceServer) GetMeta(context.Context, *SecurityProfileDiffSummaryStreamRequest) (*MetaResponse, error)
- func (UnimplementedSecurityProfileDiffSummaryServiceServer) GetOne(context.Context, *SecurityProfileDiffSummaryRequest) (*SecurityProfileDiffSummaryResponse, error)
- func (UnimplementedSecurityProfileDiffSummaryServiceServer) GetSome(*SecurityProfileDiffSummarySomeRequest, ...) error
- func (UnimplementedSecurityProfileDiffSummaryServiceServer) Subscribe(*SecurityProfileDiffSummaryStreamRequest, ...) error
- func (UnimplementedSecurityProfileDiffSummaryServiceServer) SubscribeBatched(*SecurityProfileDiffSummaryBatchedStreamRequest, ...) error
- func (UnimplementedSecurityProfileDiffSummaryServiceServer) SubscribeMeta(*SecurityProfileDiffSummaryStreamRequest, ...) error
- type UnimplementedSecurityProfileServiceServer
- func (UnimplementedSecurityProfileServiceServer) GetAll(*SecurityProfileStreamRequest, SecurityProfileService_GetAllServer) error
- func (UnimplementedSecurityProfileServiceServer) GetAllBatched(*SecurityProfileBatchedStreamRequest, ...) error
- func (UnimplementedSecurityProfileServiceServer) GetMeta(context.Context, *SecurityProfileStreamRequest) (*MetaResponse, error)
- func (UnimplementedSecurityProfileServiceServer) GetOne(context.Context, *SecurityProfileRequest) (*SecurityProfileResponse, error)
- func (UnimplementedSecurityProfileServiceServer) GetSome(*SecurityProfileSomeRequest, SecurityProfileService_GetSomeServer) error
- func (UnimplementedSecurityProfileServiceServer) Subscribe(*SecurityProfileStreamRequest, SecurityProfileService_SubscribeServer) error
- func (UnimplementedSecurityProfileServiceServer) SubscribeBatched(*SecurityProfileBatchedStreamRequest, ...) error
- func (UnimplementedSecurityProfileServiceServer) SubscribeMeta(*SecurityProfileStreamRequest, SecurityProfileService_SubscribeMetaServer) error
- type UnimplementedSummaryServiceServer
- func (UnimplementedSummaryServiceServer) GetAll(*SummaryStreamRequest, SummaryService_GetAllServer) error
- func (UnimplementedSummaryServiceServer) GetAllBatched(*SummaryBatchedStreamRequest, SummaryService_GetAllBatchedServer) error
- func (UnimplementedSummaryServiceServer) GetMeta(context.Context, *SummaryStreamRequest) (*MetaResponse, error)
- func (UnimplementedSummaryServiceServer) GetOne(context.Context, *SummaryRequest) (*SummaryResponse, error)
- func (UnimplementedSummaryServiceServer) GetSome(*SummarySomeRequest, SummaryService_GetSomeServer) error
- func (UnimplementedSummaryServiceServer) Subscribe(*SummaryStreamRequest, SummaryService_SubscribeServer) error
- func (UnimplementedSummaryServiceServer) SubscribeBatched(*SummaryBatchedStreamRequest, SummaryService_SubscribeBatchedServer) error
- func (UnimplementedSummaryServiceServer) SubscribeMeta(*SummaryStreamRequest, SummaryService_SubscribeMetaServer) error
- type UnsafeConfigDiffServiceServer
- type UnsafeConfigurationServiceServer
- type UnsafeSecurityProfileDiffServiceServer
- type UnsafeSecurityProfileDiffSummaryServiceServer
- type UnsafeSecurityProfileServiceServer
- type UnsafeSummaryServiceServer
Constants ¶
const ( ConfigDiffService_GetOne_FullMethodName = "/arista.configstatus.v1.ConfigDiffService/GetOne" ConfigDiffService_GetSome_FullMethodName = "/arista.configstatus.v1.ConfigDiffService/GetSome" ConfigDiffService_GetAll_FullMethodName = "/arista.configstatus.v1.ConfigDiffService/GetAll" ConfigDiffService_Subscribe_FullMethodName = "/arista.configstatus.v1.ConfigDiffService/Subscribe" ConfigDiffService_GetMeta_FullMethodName = "/arista.configstatus.v1.ConfigDiffService/GetMeta" ConfigDiffService_SubscribeMeta_FullMethodName = "/arista.configstatus.v1.ConfigDiffService/SubscribeMeta" ConfigDiffService_GetAllBatched_FullMethodName = "/arista.configstatus.v1.ConfigDiffService/GetAllBatched" ConfigDiffService_SubscribeBatched_FullMethodName = "/arista.configstatus.v1.ConfigDiffService/SubscribeBatched" )
const ( ConfigurationService_GetOne_FullMethodName = "/arista.configstatus.v1.ConfigurationService/GetOne" ConfigurationService_GetSome_FullMethodName = "/arista.configstatus.v1.ConfigurationService/GetSome" ConfigurationService_GetAll_FullMethodName = "/arista.configstatus.v1.ConfigurationService/GetAll" ConfigurationService_Subscribe_FullMethodName = "/arista.configstatus.v1.ConfigurationService/Subscribe" ConfigurationService_GetMeta_FullMethodName = "/arista.configstatus.v1.ConfigurationService/GetMeta" ConfigurationService_SubscribeMeta_FullMethodName = "/arista.configstatus.v1.ConfigurationService/SubscribeMeta" ConfigurationService_GetAllBatched_FullMethodName = "/arista.configstatus.v1.ConfigurationService/GetAllBatched" ConfigurationService_SubscribeBatched_FullMethodName = "/arista.configstatus.v1.ConfigurationService/SubscribeBatched" )
const ( SecurityProfileService_GetOne_FullMethodName = "/arista.configstatus.v1.SecurityProfileService/GetOne" SecurityProfileService_GetSome_FullMethodName = "/arista.configstatus.v1.SecurityProfileService/GetSome" SecurityProfileService_GetAll_FullMethodName = "/arista.configstatus.v1.SecurityProfileService/GetAll" SecurityProfileService_Subscribe_FullMethodName = "/arista.configstatus.v1.SecurityProfileService/Subscribe" SecurityProfileService_GetMeta_FullMethodName = "/arista.configstatus.v1.SecurityProfileService/GetMeta" SecurityProfileService_SubscribeMeta_FullMethodName = "/arista.configstatus.v1.SecurityProfileService/SubscribeMeta" SecurityProfileService_GetAllBatched_FullMethodName = "/arista.configstatus.v1.SecurityProfileService/GetAllBatched" SecurityProfileService_SubscribeBatched_FullMethodName = "/arista.configstatus.v1.SecurityProfileService/SubscribeBatched" )
const ( SecurityProfileDiffService_GetOne_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffService/GetOne" SecurityProfileDiffService_GetSome_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffService/GetSome" SecurityProfileDiffService_GetAll_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffService/GetAll" SecurityProfileDiffService_Subscribe_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffService/Subscribe" SecurityProfileDiffService_GetMeta_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffService/GetMeta" SecurityProfileDiffService_SubscribeMeta_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffService/SubscribeMeta" SecurityProfileDiffService_GetAllBatched_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffService/GetAllBatched" SecurityProfileDiffService_SubscribeBatched_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffService/SubscribeBatched" )
const ( SecurityProfileDiffSummaryService_GetOne_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffSummaryService/GetOne" SecurityProfileDiffSummaryService_GetSome_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffSummaryService/GetSome" SecurityProfileDiffSummaryService_GetAll_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffSummaryService/GetAll" SecurityProfileDiffSummaryService_Subscribe_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffSummaryService/Subscribe" SecurityProfileDiffSummaryService_GetMeta_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffSummaryService/GetMeta" SecurityProfileDiffSummaryService_SubscribeMeta_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffSummaryService/SubscribeMeta" SecurityProfileDiffSummaryService_GetAllBatched_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffSummaryService/GetAllBatched" SecurityProfileDiffSummaryService_SubscribeBatched_FullMethodName = "/arista.configstatus.v1.SecurityProfileDiffSummaryService/SubscribeBatched" )
const ( SummaryService_GetOne_FullMethodName = "/arista.configstatus.v1.SummaryService/GetOne" SummaryService_GetSome_FullMethodName = "/arista.configstatus.v1.SummaryService/GetSome" SummaryService_GetAll_FullMethodName = "/arista.configstatus.v1.SummaryService/GetAll" SummaryService_Subscribe_FullMethodName = "/arista.configstatus.v1.SummaryService/Subscribe" SummaryService_GetMeta_FullMethodName = "/arista.configstatus.v1.SummaryService/GetMeta" SummaryService_SubscribeMeta_FullMethodName = "/arista.configstatus.v1.SummaryService/SubscribeMeta" SummaryService_GetAllBatched_FullMethodName = "/arista.configstatus.v1.SummaryService/GetAllBatched" SummaryService_SubscribeBatched_FullMethodName = "/arista.configstatus.v1.SummaryService/SubscribeBatched" )
Variables ¶
var ( ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "ERROR_CODE_DEVICE_WARNING", 2: "ERROR_CODE_DEVICE_ERROR", 3: "ERROR_CODE_UNREACHABLE_DEVICE", 4: "ERROR_CODE_CONFIG_FILTER_ERROR", 5: "ERROR_CODE_INTERNAL", } ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "ERROR_CODE_DEVICE_WARNING": 1, "ERROR_CODE_DEVICE_ERROR": 2, "ERROR_CODE_UNREACHABLE_DEVICE": 3, "ERROR_CODE_CONFIG_FILTER_ERROR": 4, "ERROR_CODE_INTERNAL": 5, } )
Enum value maps for ErrorCode.
var ( DiffOp_name = map[int32]string{ 0: "DIFF_OP_UNSPECIFIED", 1: "DIFF_OP_NOP", 2: "DIFF_OP_IGNORE", 3: "DIFF_OP_ADD", 4: "DIFF_OP_DELETE", 5: "DIFF_OP_CHANGE", } DiffOp_value = map[string]int32{ "DIFF_OP_UNSPECIFIED": 0, "DIFF_OP_NOP": 1, "DIFF_OP_IGNORE": 2, "DIFF_OP_ADD": 3, "DIFF_OP_DELETE": 4, "DIFF_OP_CHANGE": 5, } )
Enum value maps for DiffOp.
var ( ConfigFilterCode_name = map[int32]string{ 0: "CONFIG_FILTER_CODE_UNSPECIFIED", 1: "CONFIG_FILTER_CODE_MANAGED_LINE", 2: "CONFIG_FILTER_CODE_UNMANAGED_LINE", } ConfigFilterCode_value = map[string]int32{ "CONFIG_FILTER_CODE_UNSPECIFIED": 0, "CONFIG_FILTER_CODE_MANAGED_LINE": 1, "CONFIG_FILTER_CODE_UNMANAGED_LINE": 2, } )
Enum value maps for ConfigFilterCode.
var ( ConfigSyncCode_name = map[int32]string{ 0: "CONFIG_SYNC_CODE_UNSPECIFIED", 1: "CONFIG_SYNC_CODE_IN_SYNC", 2: "CONFIG_SYNC_CODE_OUT_OF_SYNC", } ConfigSyncCode_value = map[string]int32{ "CONFIG_SYNC_CODE_UNSPECIFIED": 0, "CONFIG_SYNC_CODE_IN_SYNC": 1, "CONFIG_SYNC_CODE_OUT_OF_SYNC": 2, } )
Enum value maps for ConfigSyncCode.
var ( ConfigSourceType_name = map[int32]string{ 0: "CONFIG_SOURCE_TYPE_UNSPECIFIED", 1: "CONFIG_SOURCE_TYPE_NETWORK_PROVISIONING_CONFIGLET", 2: "CONFIG_SOURCE_TYPE_STUDIO", 3: "CONFIG_SOURCE_TYPE_STUDIO_STATIC", 5: "CONFIG_SOURCE_TYPE_HIERARCHY", } ConfigSourceType_value = map[string]int32{ "CONFIG_SOURCE_TYPE_UNSPECIFIED": 0, "CONFIG_SOURCE_TYPE_NETWORK_PROVISIONING_CONFIGLET": 1, "CONFIG_SOURCE_TYPE_STUDIO": 2, "CONFIG_SOURCE_TYPE_STUDIO_STATIC": 3, "CONFIG_SOURCE_TYPE_HIERARCHY": 5, } )
Enum value maps for ConfigSourceType.
var ( ConfigType_name = map[int32]string{ 0: "CONFIG_TYPE_UNSPECIFIED", 1: "CONFIG_TYPE_RUNNING_CONFIG", 2: "CONFIG_TYPE_DESIGNED_CONFIG", } ConfigType_value = map[string]int32{ "CONFIG_TYPE_UNSPECIFIED": 0, "CONFIG_TYPE_RUNNING_CONFIG": 1, "CONFIG_TYPE_DESIGNED_CONFIG": 2, } )
Enum value maps for ConfigType.
var ConfigDiffService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.configstatus.v1.ConfigDiffService", HandlerType: (*ConfigDiffServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _ConfigDiffService_GetOne_Handler, }, { MethodName: "GetMeta", Handler: _ConfigDiffService_GetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetSome", Handler: _ConfigDiffService_GetSome_Handler, ServerStreams: true, }, { StreamName: "GetAll", Handler: _ConfigDiffService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _ConfigDiffService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "SubscribeMeta", Handler: _ConfigDiffService_SubscribeMeta_Handler, ServerStreams: true, }, { StreamName: "GetAllBatched", Handler: _ConfigDiffService_GetAllBatched_Handler, ServerStreams: true, }, { StreamName: "SubscribeBatched", Handler: _ConfigDiffService_SubscribeBatched_Handler, ServerStreams: true, }, }, Metadata: "arista/configstatus.v1/services.gen.proto", }
ConfigDiffService_ServiceDesc is the grpc.ServiceDesc for ConfigDiffService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ConfigurationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.configstatus.v1.ConfigurationService", HandlerType: (*ConfigurationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _ConfigurationService_GetOne_Handler, }, { MethodName: "GetMeta", Handler: _ConfigurationService_GetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetSome", Handler: _ConfigurationService_GetSome_Handler, ServerStreams: true, }, { StreamName: "GetAll", Handler: _ConfigurationService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _ConfigurationService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "SubscribeMeta", Handler: _ConfigurationService_SubscribeMeta_Handler, ServerStreams: true, }, { StreamName: "GetAllBatched", Handler: _ConfigurationService_GetAllBatched_Handler, ServerStreams: true, }, { StreamName: "SubscribeBatched", Handler: _ConfigurationService_SubscribeBatched_Handler, ServerStreams: true, }, }, Metadata: "arista/configstatus.v1/services.gen.proto", }
ConfigurationService_ServiceDesc is the grpc.ServiceDesc for ConfigurationService 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_configstatus_v1_configstatus_proto protoreflect.FileDescriptor
var File_arista_configstatus_v1_services_gen_proto protoreflect.FileDescriptor
var SecurityProfileDiffService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.configstatus.v1.SecurityProfileDiffService", HandlerType: (*SecurityProfileDiffServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _SecurityProfileDiffService_GetOne_Handler, }, { MethodName: "GetMeta", Handler: _SecurityProfileDiffService_GetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetSome", Handler: _SecurityProfileDiffService_GetSome_Handler, ServerStreams: true, }, { StreamName: "GetAll", Handler: _SecurityProfileDiffService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _SecurityProfileDiffService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "SubscribeMeta", Handler: _SecurityProfileDiffService_SubscribeMeta_Handler, ServerStreams: true, }, { StreamName: "GetAllBatched", Handler: _SecurityProfileDiffService_GetAllBatched_Handler, ServerStreams: true, }, { StreamName: "SubscribeBatched", Handler: _SecurityProfileDiffService_SubscribeBatched_Handler, ServerStreams: true, }, }, Metadata: "arista/configstatus.v1/services.gen.proto", }
SecurityProfileDiffService_ServiceDesc is the grpc.ServiceDesc for SecurityProfileDiffService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SecurityProfileDiffSummaryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.configstatus.v1.SecurityProfileDiffSummaryService", HandlerType: (*SecurityProfileDiffSummaryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _SecurityProfileDiffSummaryService_GetOne_Handler, }, { MethodName: "GetMeta", Handler: _SecurityProfileDiffSummaryService_GetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetSome", Handler: _SecurityProfileDiffSummaryService_GetSome_Handler, ServerStreams: true, }, { StreamName: "GetAll", Handler: _SecurityProfileDiffSummaryService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _SecurityProfileDiffSummaryService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "SubscribeMeta", Handler: _SecurityProfileDiffSummaryService_SubscribeMeta_Handler, ServerStreams: true, }, { StreamName: "GetAllBatched", Handler: _SecurityProfileDiffSummaryService_GetAllBatched_Handler, ServerStreams: true, }, { StreamName: "SubscribeBatched", Handler: _SecurityProfileDiffSummaryService_SubscribeBatched_Handler, ServerStreams: true, }, }, Metadata: "arista/configstatus.v1/services.gen.proto", }
SecurityProfileDiffSummaryService_ServiceDesc is the grpc.ServiceDesc for SecurityProfileDiffSummaryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SecurityProfileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.configstatus.v1.SecurityProfileService", HandlerType: (*SecurityProfileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _SecurityProfileService_GetOne_Handler, }, { MethodName: "GetMeta", Handler: _SecurityProfileService_GetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetSome", Handler: _SecurityProfileService_GetSome_Handler, ServerStreams: true, }, { StreamName: "GetAll", Handler: _SecurityProfileService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _SecurityProfileService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "SubscribeMeta", Handler: _SecurityProfileService_SubscribeMeta_Handler, ServerStreams: true, }, { StreamName: "GetAllBatched", Handler: _SecurityProfileService_GetAllBatched_Handler, ServerStreams: true, }, { StreamName: "SubscribeBatched", Handler: _SecurityProfileService_SubscribeBatched_Handler, ServerStreams: true, }, }, Metadata: "arista/configstatus.v1/services.gen.proto", }
SecurityProfileService_ServiceDesc is the grpc.ServiceDesc for SecurityProfileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SummaryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.configstatus.v1.SummaryService", HandlerType: (*SummaryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _SummaryService_GetOne_Handler, }, { MethodName: "GetMeta", Handler: _SummaryService_GetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetSome", Handler: _SummaryService_GetSome_Handler, ServerStreams: true, }, { StreamName: "GetAll", Handler: _SummaryService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _SummaryService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "SubscribeMeta", Handler: _SummaryService_SubscribeMeta_Handler, ServerStreams: true, }, { StreamName: "GetAllBatched", Handler: _SummaryService_GetAllBatched_Handler, ServerStreams: true, }, { StreamName: "SubscribeBatched", Handler: _SummaryService_SubscribeBatched_Handler, ServerStreams: true, }, }, Metadata: "arista/configstatus.v1/services.gen.proto", }
SummaryService_ServiceDesc is the grpc.ServiceDesc for SummaryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterConfigDiffServiceServer ¶
func RegisterConfigDiffServiceServer(s grpc.ServiceRegistrar, srv ConfigDiffServiceServer)
func RegisterConfigurationServiceServer ¶
func RegisterConfigurationServiceServer(s grpc.ServiceRegistrar, srv ConfigurationServiceServer)
func RegisterSecurityProfileDiffServiceServer ¶
func RegisterSecurityProfileDiffServiceServer(s grpc.ServiceRegistrar, srv SecurityProfileDiffServiceServer)
func RegisterSecurityProfileDiffSummaryServiceServer ¶
func RegisterSecurityProfileDiffSummaryServiceServer(s grpc.ServiceRegistrar, srv SecurityProfileDiffSummaryServiceServer)
func RegisterSecurityProfileServiceServer ¶
func RegisterSecurityProfileServiceServer(s grpc.ServiceRegistrar, srv SecurityProfileServiceServer)
func RegisterSummaryServiceServer ¶
func RegisterSummaryServiceServer(s grpc.ServiceRegistrar, srv SummaryServiceServer)
Types ¶
type ConfigDiff ¶
type ConfigDiff struct { // key represents config diff key Key *ConfigDiffKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // uri represents the HTTP URI client can use to GET config diff and associated errors Uri *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
ConfigDiff - specifies the diff request
func (*ConfigDiff) Descriptor
deprecated
func (*ConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiff.ProtoReflect.Descriptor instead.
func (*ConfigDiff) GetKey ¶
func (x *ConfigDiff) GetKey() *ConfigDiffKey
func (*ConfigDiff) GetUri ¶
func (x *ConfigDiff) GetUri() *wrapperspb.StringValue
func (*ConfigDiff) ProtoMessage ¶
func (*ConfigDiff) ProtoMessage()
func (*ConfigDiff) ProtoReflect ¶
func (x *ConfigDiff) ProtoReflect() protoreflect.Message
func (*ConfigDiff) Reset ¶
func (x *ConfigDiff) Reset()
func (*ConfigDiff) String ¶
func (x *ConfigDiff) String() string
type ConfigDiffBatchedStreamRequest ¶
type ConfigDiffBatchedStreamRequest 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 []*ConfigDiff `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each ConfigDiff at end. // - Each ConfigDiff response is fully-specified (all fields set). // - start: Returns the state of each ConfigDiff at start, followed by updates until now. // - Each ConfigDiff response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each ConfigDiff at start, followed by updates // until end. // - Each ConfigDiff response at start is fully-specified, but updates until end may // be partial. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // MaxMessages limits the maximum number of messages that can be contained in one batch. // MaxMessages is required to be at least 1. // The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) // INTERNAL_BATCH_LIMIT is set based on the maximum message size. MaxMessages *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` // contains filtered or unexported fields }
func (*ConfigDiffBatchedStreamRequest) Descriptor
deprecated
func (*ConfigDiffBatchedStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffBatchedStreamRequest.ProtoReflect.Descriptor instead.
func (*ConfigDiffBatchedStreamRequest) GetMaxMessages ¶
func (x *ConfigDiffBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
func (*ConfigDiffBatchedStreamRequest) GetPartialEqFilter ¶
func (x *ConfigDiffBatchedStreamRequest) GetPartialEqFilter() []*ConfigDiff
func (*ConfigDiffBatchedStreamRequest) GetTime ¶
func (x *ConfigDiffBatchedStreamRequest) GetTime() *time.TimeBounds
func (*ConfigDiffBatchedStreamRequest) ProtoMessage ¶
func (*ConfigDiffBatchedStreamRequest) ProtoMessage()
func (*ConfigDiffBatchedStreamRequest) ProtoReflect ¶
func (x *ConfigDiffBatchedStreamRequest) ProtoReflect() protoreflect.Message
func (*ConfigDiffBatchedStreamRequest) Reset ¶
func (x *ConfigDiffBatchedStreamRequest) Reset()
func (*ConfigDiffBatchedStreamRequest) String ¶
func (x *ConfigDiffBatchedStreamRequest) String() string
type ConfigDiffBatchedStreamResponse ¶
type ConfigDiffBatchedStreamResponse struct { // Values are the values deemed relevant to the initiating request. // The length of this structure is guaranteed to be between (inclusive) 1 and // min(req.max_messages, INTERNAL_BATCH_LIMIT). Responses []*ConfigDiffStreamResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*ConfigDiffBatchedStreamResponse) Descriptor
deprecated
func (*ConfigDiffBatchedStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffBatchedStreamResponse.ProtoReflect.Descriptor instead.
func (*ConfigDiffBatchedStreamResponse) GetResponses ¶
func (x *ConfigDiffBatchedStreamResponse) GetResponses() []*ConfigDiffStreamResponse
func (*ConfigDiffBatchedStreamResponse) ProtoMessage ¶
func (*ConfigDiffBatchedStreamResponse) ProtoMessage()
func (*ConfigDiffBatchedStreamResponse) ProtoReflect ¶
func (x *ConfigDiffBatchedStreamResponse) ProtoReflect() protoreflect.Message
func (*ConfigDiffBatchedStreamResponse) Reset ¶
func (x *ConfigDiffBatchedStreamResponse) Reset()
func (*ConfigDiffBatchedStreamResponse) String ¶
func (x *ConfigDiffBatchedStreamResponse) String() string
type ConfigDiffKey ¶
type ConfigDiffKey struct { // a_device_id is the serial number of the device on A side (left hand side) ADeviceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=a_device_id,json=aDeviceId,proto3" json:"a_device_id,omitempty"` // a_type is the config type on A side (left hand side) AType ConfigType `protobuf:"varint,2,opt,name=a_type,json=aType,proto3,enum=arista.configstatus.v1.ConfigType" json:"a_type,omitempty"` // a_time is the time at which to fetch config on A side (left hand side) ATime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=a_time,json=aTime,proto3" json:"a_time,omitempty"` // b_device_id is the serial number of the device on B side (right hand side) BDeviceId *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=b_device_id,json=bDeviceId,proto3" json:"b_device_id,omitempty"` // b_type is the config type on B side (right hand side) BType ConfigType `protobuf:"varint,5,opt,name=b_type,json=bType,proto3,enum=arista.configstatus.v1.ConfigType" json:"b_type,omitempty"` // b_time is the time at which to fetch config on B side (right hand side) BTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=b_time,json=bTime,proto3" json:"b_time,omitempty"` // contains filtered or unexported fields }
ConfigDiffKey uniquely identifies a configuration diff request
func (*ConfigDiffKey) Descriptor
deprecated
func (*ConfigDiffKey) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffKey.ProtoReflect.Descriptor instead.
func (*ConfigDiffKey) GetADeviceId ¶
func (x *ConfigDiffKey) GetADeviceId() *wrapperspb.StringValue
func (*ConfigDiffKey) GetATime ¶
func (x *ConfigDiffKey) GetATime() *timestamppb.Timestamp
func (*ConfigDiffKey) GetAType ¶
func (x *ConfigDiffKey) GetAType() ConfigType
func (*ConfigDiffKey) GetBDeviceId ¶
func (x *ConfigDiffKey) GetBDeviceId() *wrapperspb.StringValue
func (*ConfigDiffKey) GetBTime ¶
func (x *ConfigDiffKey) GetBTime() *timestamppb.Timestamp
func (*ConfigDiffKey) GetBType ¶
func (x *ConfigDiffKey) GetBType() ConfigType
func (*ConfigDiffKey) ProtoMessage ¶
func (*ConfigDiffKey) ProtoMessage()
func (*ConfigDiffKey) ProtoReflect ¶
func (x *ConfigDiffKey) ProtoReflect() protoreflect.Message
func (*ConfigDiffKey) Reset ¶
func (x *ConfigDiffKey) Reset()
func (*ConfigDiffKey) String ¶
func (x *ConfigDiffKey) String() string
type ConfigDiffRequest ¶
type ConfigDiffRequest struct { // Key uniquely identifies a ConfigDiff instance to retrieve. // This value must be populated. Key *ConfigDiffKey `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 (*ConfigDiffRequest) Descriptor
deprecated
func (*ConfigDiffRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffRequest.ProtoReflect.Descriptor instead.
func (*ConfigDiffRequest) GetKey ¶
func (x *ConfigDiffRequest) GetKey() *ConfigDiffKey
func (*ConfigDiffRequest) GetTime ¶
func (x *ConfigDiffRequest) GetTime() *timestamppb.Timestamp
func (*ConfigDiffRequest) ProtoMessage ¶
func (*ConfigDiffRequest) ProtoMessage()
func (*ConfigDiffRequest) ProtoReflect ¶
func (x *ConfigDiffRequest) ProtoReflect() protoreflect.Message
func (*ConfigDiffRequest) Reset ¶
func (x *ConfigDiffRequest) Reset()
func (*ConfigDiffRequest) String ¶
func (x *ConfigDiffRequest) String() string
type ConfigDiffResponse ¶
type ConfigDiffResponse 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 *ConfigDiff `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // ConfigDiff instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*ConfigDiffResponse) Descriptor
deprecated
func (*ConfigDiffResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffResponse.ProtoReflect.Descriptor instead.
func (*ConfigDiffResponse) GetTime ¶
func (x *ConfigDiffResponse) GetTime() *timestamppb.Timestamp
func (*ConfigDiffResponse) GetValue ¶
func (x *ConfigDiffResponse) GetValue() *ConfigDiff
func (*ConfigDiffResponse) ProtoMessage ¶
func (*ConfigDiffResponse) ProtoMessage()
func (*ConfigDiffResponse) ProtoReflect ¶
func (x *ConfigDiffResponse) ProtoReflect() protoreflect.Message
func (*ConfigDiffResponse) Reset ¶
func (x *ConfigDiffResponse) Reset()
func (*ConfigDiffResponse) String ¶
func (x *ConfigDiffResponse) String() string
type ConfigDiffServiceClient ¶
type ConfigDiffServiceClient interface { GetOne(ctx context.Context, in *ConfigDiffRequest, opts ...grpc.CallOption) (*ConfigDiffResponse, error) GetSome(ctx context.Context, in *ConfigDiffSomeRequest, opts ...grpc.CallOption) (ConfigDiffService_GetSomeClient, error) GetAll(ctx context.Context, in *ConfigDiffStreamRequest, opts ...grpc.CallOption) (ConfigDiffService_GetAllClient, error) Subscribe(ctx context.Context, in *ConfigDiffStreamRequest, opts ...grpc.CallOption) (ConfigDiffService_SubscribeClient, error) GetMeta(ctx context.Context, in *ConfigDiffStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error) SubscribeMeta(ctx context.Context, in *ConfigDiffStreamRequest, opts ...grpc.CallOption) (ConfigDiffService_SubscribeMetaClient, error) GetAllBatched(ctx context.Context, in *ConfigDiffBatchedStreamRequest, opts ...grpc.CallOption) (ConfigDiffService_GetAllBatchedClient, error) SubscribeBatched(ctx context.Context, in *ConfigDiffBatchedStreamRequest, opts ...grpc.CallOption) (ConfigDiffService_SubscribeBatchedClient, error) }
ConfigDiffServiceClient is the client API for ConfigDiffService 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 NewConfigDiffServiceClient ¶
func NewConfigDiffServiceClient(cc grpc.ClientConnInterface) ConfigDiffServiceClient
type ConfigDiffServiceServer ¶
type ConfigDiffServiceServer interface { GetOne(context.Context, *ConfigDiffRequest) (*ConfigDiffResponse, error) GetSome(*ConfigDiffSomeRequest, ConfigDiffService_GetSomeServer) error GetAll(*ConfigDiffStreamRequest, ConfigDiffService_GetAllServer) error Subscribe(*ConfigDiffStreamRequest, ConfigDiffService_SubscribeServer) error GetMeta(context.Context, *ConfigDiffStreamRequest) (*MetaResponse, error) SubscribeMeta(*ConfigDiffStreamRequest, ConfigDiffService_SubscribeMetaServer) error GetAllBatched(*ConfigDiffBatchedStreamRequest, ConfigDiffService_GetAllBatchedServer) error SubscribeBatched(*ConfigDiffBatchedStreamRequest, ConfigDiffService_SubscribeBatchedServer) error // contains filtered or unexported methods }
ConfigDiffServiceServer is the server API for ConfigDiffService service. All implementations must embed UnimplementedConfigDiffServiceServer for forward compatibility
type ConfigDiffService_GetAllBatchedClient ¶
type ConfigDiffService_GetAllBatchedClient interface { Recv() (*ConfigDiffBatchedStreamResponse, error) grpc.ClientStream }
type ConfigDiffService_GetAllBatchedServer ¶
type ConfigDiffService_GetAllBatchedServer interface { Send(*ConfigDiffBatchedStreamResponse) error grpc.ServerStream }
type ConfigDiffService_GetAllClient ¶
type ConfigDiffService_GetAllClient interface { Recv() (*ConfigDiffStreamResponse, error) grpc.ClientStream }
type ConfigDiffService_GetAllServer ¶
type ConfigDiffService_GetAllServer interface { Send(*ConfigDiffStreamResponse) error grpc.ServerStream }
type ConfigDiffService_GetSomeClient ¶
type ConfigDiffService_GetSomeClient interface { Recv() (*ConfigDiffSomeResponse, error) grpc.ClientStream }
type ConfigDiffService_GetSomeServer ¶
type ConfigDiffService_GetSomeServer interface { Send(*ConfigDiffSomeResponse) error grpc.ServerStream }
type ConfigDiffService_SubscribeBatchedClient ¶
type ConfigDiffService_SubscribeBatchedClient interface { Recv() (*ConfigDiffBatchedStreamResponse, error) grpc.ClientStream }
type ConfigDiffService_SubscribeBatchedServer ¶
type ConfigDiffService_SubscribeBatchedServer interface { Send(*ConfigDiffBatchedStreamResponse) error grpc.ServerStream }
type ConfigDiffService_SubscribeClient ¶
type ConfigDiffService_SubscribeClient interface { Recv() (*ConfigDiffStreamResponse, error) grpc.ClientStream }
type ConfigDiffService_SubscribeMetaClient ¶
type ConfigDiffService_SubscribeMetaClient interface { Recv() (*MetaResponse, error) grpc.ClientStream }
type ConfigDiffService_SubscribeMetaServer ¶
type ConfigDiffService_SubscribeMetaServer interface { Send(*MetaResponse) error grpc.ServerStream }
type ConfigDiffService_SubscribeServer ¶
type ConfigDiffService_SubscribeServer interface { Send(*ConfigDiffStreamResponse) error grpc.ServerStream }
type ConfigDiffSomeRequest ¶
type ConfigDiffSomeRequest struct { Keys []*ConfigDiffKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,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 (*ConfigDiffSomeRequest) Descriptor
deprecated
func (*ConfigDiffSomeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffSomeRequest.ProtoReflect.Descriptor instead.
func (*ConfigDiffSomeRequest) GetKeys ¶
func (x *ConfigDiffSomeRequest) GetKeys() []*ConfigDiffKey
func (*ConfigDiffSomeRequest) GetTime ¶
func (x *ConfigDiffSomeRequest) GetTime() *timestamppb.Timestamp
func (*ConfigDiffSomeRequest) ProtoMessage ¶
func (*ConfigDiffSomeRequest) ProtoMessage()
func (*ConfigDiffSomeRequest) ProtoReflect ¶
func (x *ConfigDiffSomeRequest) ProtoReflect() protoreflect.Message
func (*ConfigDiffSomeRequest) Reset ¶
func (x *ConfigDiffSomeRequest) Reset()
func (*ConfigDiffSomeRequest) String ¶
func (x *ConfigDiffSomeRequest) String() string
type ConfigDiffSomeResponse ¶
type ConfigDiffSomeResponse 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 *ConfigDiff `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Error is an optional field. // It should be filled when there is an error in the GetSome process. Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*ConfigDiffSomeResponse) Descriptor
deprecated
func (*ConfigDiffSomeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffSomeResponse.ProtoReflect.Descriptor instead.
func (*ConfigDiffSomeResponse) GetError ¶
func (x *ConfigDiffSomeResponse) GetError() *wrapperspb.StringValue
func (*ConfigDiffSomeResponse) GetTime ¶
func (x *ConfigDiffSomeResponse) GetTime() *timestamppb.Timestamp
func (*ConfigDiffSomeResponse) GetValue ¶
func (x *ConfigDiffSomeResponse) GetValue() *ConfigDiff
func (*ConfigDiffSomeResponse) ProtoMessage ¶
func (*ConfigDiffSomeResponse) ProtoMessage()
func (*ConfigDiffSomeResponse) ProtoReflect ¶
func (x *ConfigDiffSomeResponse) ProtoReflect() protoreflect.Message
func (*ConfigDiffSomeResponse) Reset ¶
func (x *ConfigDiffSomeResponse) Reset()
func (*ConfigDiffSomeResponse) String ¶
func (x *ConfigDiffSomeResponse) String() string
type ConfigDiffStreamRequest ¶
type ConfigDiffStreamRequest 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 []*ConfigDiff `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each ConfigDiff at end. // - Each ConfigDiff response is fully-specified (all fields set). // - start: Returns the state of each ConfigDiff at start, followed by updates until now. // - Each ConfigDiff response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each ConfigDiff at start, followed by updates // until end. // - Each ConfigDiff response at start is fully-specified, but updates until end may // be partial. // // 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 (*ConfigDiffStreamRequest) Descriptor
deprecated
func (*ConfigDiffStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffStreamRequest.ProtoReflect.Descriptor instead.
func (*ConfigDiffStreamRequest) GetPartialEqFilter ¶
func (x *ConfigDiffStreamRequest) GetPartialEqFilter() []*ConfigDiff
func (*ConfigDiffStreamRequest) GetTime ¶
func (x *ConfigDiffStreamRequest) GetTime() *time.TimeBounds
func (*ConfigDiffStreamRequest) ProtoMessage ¶
func (*ConfigDiffStreamRequest) ProtoMessage()
func (*ConfigDiffStreamRequest) ProtoReflect ¶
func (x *ConfigDiffStreamRequest) ProtoReflect() protoreflect.Message
func (*ConfigDiffStreamRequest) Reset ¶
func (x *ConfigDiffStreamRequest) Reset()
func (*ConfigDiffStreamRequest) String ¶
func (x *ConfigDiffStreamRequest) String() string
type ConfigDiffStreamResponse ¶
type ConfigDiffStreamResponse 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 *ConfigDiff `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this ConfigDiff's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the ConfigDiff 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 (*ConfigDiffStreamResponse) Descriptor
deprecated
func (*ConfigDiffStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigDiffStreamResponse.ProtoReflect.Descriptor instead.
func (*ConfigDiffStreamResponse) GetTime ¶
func (x *ConfigDiffStreamResponse) GetTime() *timestamppb.Timestamp
func (*ConfigDiffStreamResponse) GetType ¶
func (x *ConfigDiffStreamResponse) GetType() subscriptions.Operation
func (*ConfigDiffStreamResponse) GetValue ¶
func (x *ConfigDiffStreamResponse) GetValue() *ConfigDiff
func (*ConfigDiffStreamResponse) ProtoMessage ¶
func (*ConfigDiffStreamResponse) ProtoMessage()
func (*ConfigDiffStreamResponse) ProtoReflect ¶
func (x *ConfigDiffStreamResponse) ProtoReflect() protoreflect.Message
func (*ConfigDiffStreamResponse) Reset ¶
func (x *ConfigDiffStreamResponse) Reset()
func (*ConfigDiffStreamResponse) String ¶
func (x *ConfigDiffStreamResponse) String() string
type ConfigError ¶
type ConfigError struct { // error_code - type of error. ErrorCode ErrorCode `` /* 127-byte string literal not displayed */ // error_msg - details of error ErrorMsg *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` // line_num represents line number, if any LineNum *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=line_num,json=lineNum,proto3" json:"line_num,omitempty"` // configlet_name represents the originating configlet name. Configlet_name // and line_num point to the line where config warning or config error originate. ConfigletName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=configlet_name,json=configletName,proto3" json:"configlet_name,omitempty"` // contains filtered or unexported fields }
ConfigError represents errors reported by CVP/EOS when handling device configuration
func (*ConfigError) Descriptor
deprecated
func (*ConfigError) Descriptor() ([]byte, []int)
Deprecated: Use ConfigError.ProtoReflect.Descriptor instead.
func (*ConfigError) GetConfigletName ¶
func (x *ConfigError) GetConfigletName() *wrapperspb.StringValue
func (*ConfigError) GetErrorCode ¶
func (x *ConfigError) GetErrorCode() ErrorCode
func (*ConfigError) GetErrorMsg ¶
func (x *ConfigError) GetErrorMsg() *wrapperspb.StringValue
func (*ConfigError) GetLineNum ¶
func (x *ConfigError) GetLineNum() *wrapperspb.Int32Value
func (*ConfigError) ProtoMessage ¶
func (*ConfigError) ProtoMessage()
func (*ConfigError) ProtoReflect ¶
func (x *ConfigError) ProtoReflect() protoreflect.Message
func (*ConfigError) Reset ¶
func (x *ConfigError) Reset()
func (*ConfigError) String ¶
func (x *ConfigError) String() string
type ConfigErrors ¶
type ConfigErrors struct { // values - list of errors Values []*ConfigError `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
ConfigErrors list of errors
func (*ConfigErrors) Descriptor
deprecated
func (*ConfigErrors) Descriptor() ([]byte, []int)
Deprecated: Use ConfigErrors.ProtoReflect.Descriptor instead.
func (*ConfigErrors) GetValues ¶
func (x *ConfigErrors) GetValues() []*ConfigError
func (*ConfigErrors) ProtoMessage ¶
func (*ConfigErrors) ProtoMessage()
func (*ConfigErrors) ProtoReflect ¶
func (x *ConfigErrors) ProtoReflect() protoreflect.Message
func (*ConfigErrors) Reset ¶
func (x *ConfigErrors) Reset()
func (*ConfigErrors) String ¶
func (x *ConfigErrors) String() string
type ConfigFilterCode ¶
type ConfigFilterCode int32
ConfigFilterCode indicates if a config line matches PCM filter(s)
const ( // CONFIG_FILTER_CODE_UNSPECIFIED uninitialized ConfigFilterCode_CONFIG_FILTER_CODE_UNSPECIFIED ConfigFilterCode = 0 // CONFIG_FILTER_CODE_MANAGED_LINE indicates config line matches managed PCM filter hence is managed ConfigFilterCode_CONFIG_FILTER_CODE_MANAGED_LINE ConfigFilterCode = 1 // CONFIG_FILTER_CODE_UNMANAGED_LINE indicates config line matches unmanaged PCM filter hence is not managed ConfigFilterCode_CONFIG_FILTER_CODE_UNMANAGED_LINE ConfigFilterCode = 2 )
func (ConfigFilterCode) Descriptor ¶
func (ConfigFilterCode) Descriptor() protoreflect.EnumDescriptor
func (ConfigFilterCode) Enum ¶
func (x ConfigFilterCode) Enum() *ConfigFilterCode
func (ConfigFilterCode) EnumDescriptor
deprecated
func (ConfigFilterCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfigFilterCode.Descriptor instead.
func (ConfigFilterCode) Number ¶
func (x ConfigFilterCode) Number() protoreflect.EnumNumber
func (ConfigFilterCode) String ¶
func (x ConfigFilterCode) String() string
func (ConfigFilterCode) Type ¶
func (ConfigFilterCode) Type() protoreflect.EnumType
type ConfigKey ¶
type ConfigKey struct { // device_id is the serial number of the device DeviceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // type describes the config type Type ConfigType `protobuf:"varint,2,opt,name=type,proto3,enum=arista.configstatus.v1.ConfigType" json:"type,omitempty"` // contains filtered or unexported fields }
ConfigKey uniquely identifies a config request.
func (*ConfigKey) Descriptor
deprecated
func (*ConfigKey) GetDeviceId ¶
func (x *ConfigKey) GetDeviceId() *wrapperspb.StringValue
func (*ConfigKey) GetType ¶
func (x *ConfigKey) GetType() ConfigType
func (*ConfigKey) ProtoMessage ¶
func (*ConfigKey) ProtoMessage()
func (*ConfigKey) ProtoReflect ¶
func (x *ConfigKey) ProtoReflect() protoreflect.Message
type ConfigSource ¶
type ConfigSource struct { // source_type - app type of the config snippet SourceType ConfigSourceType `` /* 137-byte string literal not displayed */ // source_id identifier to distinguish between multiple instances of the source type // source_id is : // // configlet name for CONFIG_SOURCE_TYPE_NETWORK_PROVISIONING_CONFIGLET // studio id for CONFIG_SOURCE_TYPE_STUDIO // configlet id for CONFIG_SOURCE_TYPE_STUDIO_STATIC // FixtureInstance id for CONFIG_SOURCE_TYPE_HIERARCHY SourceId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` // contains filtered or unexported fields }
ConfigSource describes an individual source of the proposed/designed config
func (*ConfigSource) Descriptor
deprecated
func (*ConfigSource) Descriptor() ([]byte, []int)
Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead.
func (*ConfigSource) GetSourceId ¶
func (x *ConfigSource) GetSourceId() *wrapperspb.StringValue
func (*ConfigSource) GetSourceType ¶
func (x *ConfigSource) GetSourceType() ConfigSourceType
func (*ConfigSource) ProtoMessage ¶
func (*ConfigSource) ProtoMessage()
func (*ConfigSource) ProtoReflect ¶
func (x *ConfigSource) ProtoReflect() protoreflect.Message
func (*ConfigSource) Reset ¶
func (x *ConfigSource) Reset()
func (*ConfigSource) String ¶
func (x *ConfigSource) String() string
type ConfigSourceType ¶
type ConfigSourceType int32
ConfigSourceType indicates the type of source for the proposed/designed configuration for the device
const ( // CONFIG_SOURCE_TYPE_UNSPECIFIED uninitialized value ConfigSourceType_CONFIG_SOURCE_TYPE_UNSPECIFIED ConfigSourceType = 0 // CONFIG_SOURCE_TYPE_NETWORK_PROVISIONING_CONFIGLET - configlet created from // the network provisioning workflow. ConfigSourceType_CONFIG_SOURCE_TYPE_NETWORK_PROVISIONING_CONFIGLET ConfigSourceType = 1 // CONFIG_SOURCE_TYPE_STUDIO - config generated from a regular studio ConfigSourceType_CONFIG_SOURCE_TYPE_STUDIO ConfigSourceType = 2 // CONFIG_SOURCE_TYPE_STUDIO_STATIC - static config from studios framework ConfigSourceType_CONFIG_SOURCE_TYPE_STUDIO_STATIC ConfigSourceType = 3 // CONFIG_SOURCE_TYPE_HIERARCHY - config from the hierarchy frameork ConfigSourceType_CONFIG_SOURCE_TYPE_HIERARCHY ConfigSourceType = 5 )
func (ConfigSourceType) Descriptor ¶
func (ConfigSourceType) Descriptor() protoreflect.EnumDescriptor
func (ConfigSourceType) Enum ¶
func (x ConfigSourceType) Enum() *ConfigSourceType
func (ConfigSourceType) EnumDescriptor
deprecated
func (ConfigSourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfigSourceType.Descriptor instead.
func (ConfigSourceType) Number ¶
func (x ConfigSourceType) Number() protoreflect.EnumNumber
func (ConfigSourceType) String ¶
func (x ConfigSourceType) String() string
func (ConfigSourceType) Type ¶
func (ConfigSourceType) Type() protoreflect.EnumType
type ConfigSources ¶
type ConfigSources struct { // values - ordered list of all the config snippets present in DC Values []*ConfigSource `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
ConfigSources is the list of sources of the proposed/designed config
func (*ConfigSources) Descriptor
deprecated
func (*ConfigSources) Descriptor() ([]byte, []int)
Deprecated: Use ConfigSources.ProtoReflect.Descriptor instead.
func (*ConfigSources) GetValues ¶
func (x *ConfigSources) GetValues() []*ConfigSource
func (*ConfigSources) ProtoMessage ¶
func (*ConfigSources) ProtoMessage()
func (*ConfigSources) ProtoReflect ¶
func (x *ConfigSources) ProtoReflect() protoreflect.Message
func (*ConfigSources) Reset ¶
func (x *ConfigSources) Reset()
func (*ConfigSources) String ¶
func (x *ConfigSources) String() string
type ConfigSummary ¶
type ConfigSummary struct { // sync - state of DC vs RC Sync ConfigSyncCode `protobuf:"varint,1,opt,name=sync,proto3,enum=arista.configstatus.v1.ConfigSyncCode" json:"sync,omitempty"` // nop_lines - Number of lines with code no-operation NopLines *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=nop_lines,json=nopLines,proto3" json:"nop_lines,omitempty"` // ignored_lines - Number of lines with code IGNORE IgnoredLines *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=ignored_lines,json=ignoredLines,proto3" json:"ignored_lines,omitempty"` // added_lines - Number of lines with code ADD AddedLines *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=added_lines,json=addedLines,proto3" json:"added_lines,omitempty"` // deleted_lines - Number of lines with code DELETE DeletedLines *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=deleted_lines,json=deletedLines,proto3" json:"deleted_lines,omitempty"` // changed_lines - Number of lines with code CHANGE ChangedLines *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=changed_lines,json=changedLines,proto3" json:"changed_lines,omitempty"` // designed_config_errors - Number of designed config errors DesignedConfigErrors *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=designed_config_errors,json=designedConfigErrors,proto3" json:"designed_config_errors,omitempty"` // designed_config_warnings - Number of designed config warnings DesignedConfigWarnings *wrapperspb.Int32Value `` /* 129-byte string literal not displayed */ // running_config_update_time - Timestamp at which running config is updated RunningConfigUpdateTime *timestamppb.Timestamp `` /* 134-byte string literal not displayed */ // designed_config_update_time - Timestamp at which designed config is updated DesignedConfigUpdateTime *timestamppb.Timestamp `` /* 138-byte string literal not displayed */ // running_config_uri - The HTTP URI client can use to GET running config and associated errors RunningConfigUri *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=running_config_uri,json=runningConfigUri,proto3" json:"running_config_uri,omitempty"` // designed_config_uri - The HTTP URI client can use to GET designed config and associated errors DesignedConfigUri *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=designed_config_uri,json=designedConfigUri,proto3" json:"designed_config_uri,omitempty"` // diff_uri - The HTTP URI client can use to GET config diff and associated errors DiffUri *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=diff_uri,json=diffUri,proto3" json:"diff_uri,omitempty"` // digest (SHA-256) of the config diff. Digest *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
ConfigSummary represents device configuration summary.
func (*ConfigSummary) Descriptor
deprecated
func (*ConfigSummary) Descriptor() ([]byte, []int)
Deprecated: Use ConfigSummary.ProtoReflect.Descriptor instead.
func (*ConfigSummary) GetAddedLines ¶
func (x *ConfigSummary) GetAddedLines() *wrapperspb.Int32Value
func (*ConfigSummary) GetChangedLines ¶
func (x *ConfigSummary) GetChangedLines() *wrapperspb.Int32Value
func (*ConfigSummary) GetDeletedLines ¶
func (x *ConfigSummary) GetDeletedLines() *wrapperspb.Int32Value
func (*ConfigSummary) GetDesignedConfigErrors ¶
func (x *ConfigSummary) GetDesignedConfigErrors() *wrapperspb.Int32Value
func (*ConfigSummary) GetDesignedConfigUpdateTime ¶
func (x *ConfigSummary) GetDesignedConfigUpdateTime() *timestamppb.Timestamp
func (*ConfigSummary) GetDesignedConfigUri ¶
func (x *ConfigSummary) GetDesignedConfigUri() *wrapperspb.StringValue
func (*ConfigSummary) GetDesignedConfigWarnings ¶
func (x *ConfigSummary) GetDesignedConfigWarnings() *wrapperspb.Int32Value
func (*ConfigSummary) GetDiffUri ¶
func (x *ConfigSummary) GetDiffUri() *wrapperspb.StringValue
func (*ConfigSummary) GetDigest ¶
func (x *ConfigSummary) GetDigest() *wrapperspb.StringValue
func (*ConfigSummary) GetIgnoredLines ¶
func (x *ConfigSummary) GetIgnoredLines() *wrapperspb.Int32Value
func (*ConfigSummary) GetNopLines ¶
func (x *ConfigSummary) GetNopLines() *wrapperspb.Int32Value
func (*ConfigSummary) GetRunningConfigUpdateTime ¶
func (x *ConfigSummary) GetRunningConfigUpdateTime() *timestamppb.Timestamp
func (*ConfigSummary) GetRunningConfigUri ¶
func (x *ConfigSummary) GetRunningConfigUri() *wrapperspb.StringValue
func (*ConfigSummary) GetSync ¶
func (x *ConfigSummary) GetSync() ConfigSyncCode
func (*ConfigSummary) ProtoMessage ¶
func (*ConfigSummary) ProtoMessage()
func (*ConfigSummary) ProtoReflect ¶
func (x *ConfigSummary) ProtoReflect() protoreflect.Message
func (*ConfigSummary) Reset ¶
func (x *ConfigSummary) Reset()
func (*ConfigSummary) String ¶
func (x *ConfigSummary) String() string
type ConfigSyncCode ¶
type ConfigSyncCode int32
ConfigSyncCode indicates config synchronization status
const ( // CONFIG_SYNC_CODE_UNSPECIFIED uninitialized ConfigSyncCode_CONFIG_SYNC_CODE_UNSPECIFIED ConfigSyncCode = 0 // CONFIG_SYNC_CODE_IN_SYNC indicates designed config and running config are identical ConfigSyncCode_CONFIG_SYNC_CODE_IN_SYNC ConfigSyncCode = 1 // CONFIG_SYNC_CODE_OUT_OF_SYNC indicates designed config and running config are not identical ConfigSyncCode_CONFIG_SYNC_CODE_OUT_OF_SYNC ConfigSyncCode = 2 )
func (ConfigSyncCode) Descriptor ¶
func (ConfigSyncCode) Descriptor() protoreflect.EnumDescriptor
func (ConfigSyncCode) Enum ¶
func (x ConfigSyncCode) Enum() *ConfigSyncCode
func (ConfigSyncCode) EnumDescriptor
deprecated
func (ConfigSyncCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfigSyncCode.Descriptor instead.
func (ConfigSyncCode) Number ¶
func (x ConfigSyncCode) Number() protoreflect.EnumNumber
func (ConfigSyncCode) String ¶
func (x ConfigSyncCode) String() string
func (ConfigSyncCode) Type ¶
func (ConfigSyncCode) Type() protoreflect.EnumType
type ConfigType ¶
type ConfigType int32
ConfigType - specifies type of config
const ( // CONFIG_TYPE_UNSPECIFIED uninitialized value ConfigType_CONFIG_TYPE_UNSPECIFIED ConfigType = 0 // CONFIG_TYPE_RUNNING_CONFIG uninitialized value ConfigType_CONFIG_TYPE_RUNNING_CONFIG ConfigType = 1 // CONFIG_TYPE_DESIGNED_CONFIG uninitialized value ConfigType_CONFIG_TYPE_DESIGNED_CONFIG ConfigType = 2 )
func (ConfigType) Descriptor ¶
func (ConfigType) Descriptor() protoreflect.EnumDescriptor
func (ConfigType) Enum ¶
func (x ConfigType) Enum() *ConfigType
func (ConfigType) EnumDescriptor
deprecated
func (ConfigType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfigType.Descriptor instead.
func (ConfigType) Number ¶
func (x ConfigType) Number() protoreflect.EnumNumber
func (ConfigType) String ¶
func (x ConfigType) String() string
func (ConfigType) Type ¶
func (ConfigType) Type() protoreflect.EnumType
type Configuration ¶
type Configuration struct { // key specifies the device and type of config Key *ConfigKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // uri represents the HTTP URI client can use to GET config body and associated errors Uri *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
Configuration represents device's CLI configuration
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetKey ¶
func (x *Configuration) GetKey() *ConfigKey
func (*Configuration) GetUri ¶
func (x *Configuration) GetUri() *wrapperspb.StringValue
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type ConfigurationBatchedStreamRequest ¶
type ConfigurationBatchedStreamRequest 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 []*Configuration `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each Configuration at end. // - Each Configuration response is fully-specified (all fields set). // - start: Returns the state of each Configuration at start, followed by updates until now. // - Each Configuration response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each Configuration at start, followed by updates // until end. // - Each Configuration response at start is fully-specified, but updates until end may // be partial. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // MaxMessages limits the maximum number of messages that can be contained in one batch. // MaxMessages is required to be at least 1. // The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) // INTERNAL_BATCH_LIMIT is set based on the maximum message size. MaxMessages *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationBatchedStreamRequest) Descriptor
deprecated
func (*ConfigurationBatchedStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationBatchedStreamRequest.ProtoReflect.Descriptor instead.
func (*ConfigurationBatchedStreamRequest) GetMaxMessages ¶
func (x *ConfigurationBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
func (*ConfigurationBatchedStreamRequest) GetPartialEqFilter ¶
func (x *ConfigurationBatchedStreamRequest) GetPartialEqFilter() []*Configuration
func (*ConfigurationBatchedStreamRequest) GetTime ¶
func (x *ConfigurationBatchedStreamRequest) GetTime() *time.TimeBounds
func (*ConfigurationBatchedStreamRequest) ProtoMessage ¶
func (*ConfigurationBatchedStreamRequest) ProtoMessage()
func (*ConfigurationBatchedStreamRequest) ProtoReflect ¶
func (x *ConfigurationBatchedStreamRequest) ProtoReflect() protoreflect.Message
func (*ConfigurationBatchedStreamRequest) Reset ¶
func (x *ConfigurationBatchedStreamRequest) Reset()
func (*ConfigurationBatchedStreamRequest) String ¶
func (x *ConfigurationBatchedStreamRequest) String() string
type ConfigurationBatchedStreamResponse ¶
type ConfigurationBatchedStreamResponse struct { // Values are the values deemed relevant to the initiating request. // The length of this structure is guaranteed to be between (inclusive) 1 and // min(req.max_messages, INTERNAL_BATCH_LIMIT). Responses []*ConfigurationStreamResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationBatchedStreamResponse) Descriptor
deprecated
func (*ConfigurationBatchedStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationBatchedStreamResponse.ProtoReflect.Descriptor instead.
func (*ConfigurationBatchedStreamResponse) GetResponses ¶
func (x *ConfigurationBatchedStreamResponse) GetResponses() []*ConfigurationStreamResponse
func (*ConfigurationBatchedStreamResponse) ProtoMessage ¶
func (*ConfigurationBatchedStreamResponse) ProtoMessage()
func (*ConfigurationBatchedStreamResponse) ProtoReflect ¶
func (x *ConfigurationBatchedStreamResponse) ProtoReflect() protoreflect.Message
func (*ConfigurationBatchedStreamResponse) Reset ¶
func (x *ConfigurationBatchedStreamResponse) Reset()
func (*ConfigurationBatchedStreamResponse) String ¶
func (x *ConfigurationBatchedStreamResponse) String() string
type ConfigurationRequest ¶
type ConfigurationRequest struct { // Key uniquely identifies a Configuration instance to retrieve. // This value must be populated. Key *ConfigKey `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 (*ConfigurationRequest) Descriptor
deprecated
func (*ConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationRequest.ProtoReflect.Descriptor instead.
func (*ConfigurationRequest) GetKey ¶
func (x *ConfigurationRequest) GetKey() *ConfigKey
func (*ConfigurationRequest) GetTime ¶
func (x *ConfigurationRequest) GetTime() *timestamppb.Timestamp
func (*ConfigurationRequest) ProtoMessage ¶
func (*ConfigurationRequest) ProtoMessage()
func (*ConfigurationRequest) ProtoReflect ¶
func (x *ConfigurationRequest) ProtoReflect() protoreflect.Message
func (*ConfigurationRequest) Reset ¶
func (x *ConfigurationRequest) Reset()
func (*ConfigurationRequest) String ¶
func (x *ConfigurationRequest) String() string
type ConfigurationResponse ¶
type ConfigurationResponse 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 *Configuration `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // Configuration instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationResponse) Descriptor
deprecated
func (*ConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationResponse.ProtoReflect.Descriptor instead.
func (*ConfigurationResponse) GetTime ¶
func (x *ConfigurationResponse) GetTime() *timestamppb.Timestamp
func (*ConfigurationResponse) GetValue ¶
func (x *ConfigurationResponse) GetValue() *Configuration
func (*ConfigurationResponse) ProtoMessage ¶
func (*ConfigurationResponse) ProtoMessage()
func (*ConfigurationResponse) ProtoReflect ¶
func (x *ConfigurationResponse) ProtoReflect() protoreflect.Message
func (*ConfigurationResponse) Reset ¶
func (x *ConfigurationResponse) Reset()
func (*ConfigurationResponse) String ¶
func (x *ConfigurationResponse) String() string
type ConfigurationServiceClient ¶
type ConfigurationServiceClient interface { GetOne(ctx context.Context, in *ConfigurationRequest, opts ...grpc.CallOption) (*ConfigurationResponse, error) GetSome(ctx context.Context, in *ConfigurationSomeRequest, opts ...grpc.CallOption) (ConfigurationService_GetSomeClient, error) GetAll(ctx context.Context, in *ConfigurationStreamRequest, opts ...grpc.CallOption) (ConfigurationService_GetAllClient, error) Subscribe(ctx context.Context, in *ConfigurationStreamRequest, opts ...grpc.CallOption) (ConfigurationService_SubscribeClient, error) GetMeta(ctx context.Context, in *ConfigurationStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error) SubscribeMeta(ctx context.Context, in *ConfigurationStreamRequest, opts ...grpc.CallOption) (ConfigurationService_SubscribeMetaClient, error) GetAllBatched(ctx context.Context, in *ConfigurationBatchedStreamRequest, opts ...grpc.CallOption) (ConfigurationService_GetAllBatchedClient, error) SubscribeBatched(ctx context.Context, in *ConfigurationBatchedStreamRequest, opts ...grpc.CallOption) (ConfigurationService_SubscribeBatchedClient, error) }
ConfigurationServiceClient is the client API for ConfigurationService 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 NewConfigurationServiceClient ¶
func NewConfigurationServiceClient(cc grpc.ClientConnInterface) ConfigurationServiceClient
type ConfigurationServiceServer ¶
type ConfigurationServiceServer interface { GetOne(context.Context, *ConfigurationRequest) (*ConfigurationResponse, error) GetSome(*ConfigurationSomeRequest, ConfigurationService_GetSomeServer) error GetAll(*ConfigurationStreamRequest, ConfigurationService_GetAllServer) error Subscribe(*ConfigurationStreamRequest, ConfigurationService_SubscribeServer) error GetMeta(context.Context, *ConfigurationStreamRequest) (*MetaResponse, error) SubscribeMeta(*ConfigurationStreamRequest, ConfigurationService_SubscribeMetaServer) error GetAllBatched(*ConfigurationBatchedStreamRequest, ConfigurationService_GetAllBatchedServer) error SubscribeBatched(*ConfigurationBatchedStreamRequest, ConfigurationService_SubscribeBatchedServer) error // contains filtered or unexported methods }
ConfigurationServiceServer is the server API for ConfigurationService service. All implementations must embed UnimplementedConfigurationServiceServer for forward compatibility
type ConfigurationService_GetAllBatchedClient ¶
type ConfigurationService_GetAllBatchedClient interface { Recv() (*ConfigurationBatchedStreamResponse, error) grpc.ClientStream }
type ConfigurationService_GetAllBatchedServer ¶
type ConfigurationService_GetAllBatchedServer interface { Send(*ConfigurationBatchedStreamResponse) error grpc.ServerStream }
type ConfigurationService_GetAllClient ¶
type ConfigurationService_GetAllClient interface { Recv() (*ConfigurationStreamResponse, error) grpc.ClientStream }
type ConfigurationService_GetAllServer ¶
type ConfigurationService_GetAllServer interface { Send(*ConfigurationStreamResponse) error grpc.ServerStream }
type ConfigurationService_GetSomeClient ¶
type ConfigurationService_GetSomeClient interface { Recv() (*ConfigurationSomeResponse, error) grpc.ClientStream }
type ConfigurationService_GetSomeServer ¶
type ConfigurationService_GetSomeServer interface { Send(*ConfigurationSomeResponse) error grpc.ServerStream }
type ConfigurationService_SubscribeBatchedClient ¶
type ConfigurationService_SubscribeBatchedClient interface { Recv() (*ConfigurationBatchedStreamResponse, error) grpc.ClientStream }
type ConfigurationService_SubscribeBatchedServer ¶
type ConfigurationService_SubscribeBatchedServer interface { Send(*ConfigurationBatchedStreamResponse) error grpc.ServerStream }
type ConfigurationService_SubscribeClient ¶
type ConfigurationService_SubscribeClient interface { Recv() (*ConfigurationStreamResponse, error) grpc.ClientStream }
type ConfigurationService_SubscribeMetaClient ¶
type ConfigurationService_SubscribeMetaClient interface { Recv() (*MetaResponse, error) grpc.ClientStream }
type ConfigurationService_SubscribeMetaServer ¶
type ConfigurationService_SubscribeMetaServer interface { Send(*MetaResponse) error grpc.ServerStream }
type ConfigurationService_SubscribeServer ¶
type ConfigurationService_SubscribeServer interface { Send(*ConfigurationStreamResponse) error grpc.ServerStream }
type ConfigurationSomeRequest ¶
type ConfigurationSomeRequest struct { Keys []*ConfigKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,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 (*ConfigurationSomeRequest) Descriptor
deprecated
func (*ConfigurationSomeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationSomeRequest.ProtoReflect.Descriptor instead.
func (*ConfigurationSomeRequest) GetKeys ¶
func (x *ConfigurationSomeRequest) GetKeys() []*ConfigKey
func (*ConfigurationSomeRequest) GetTime ¶
func (x *ConfigurationSomeRequest) GetTime() *timestamppb.Timestamp
func (*ConfigurationSomeRequest) ProtoMessage ¶
func (*ConfigurationSomeRequest) ProtoMessage()
func (*ConfigurationSomeRequest) ProtoReflect ¶
func (x *ConfigurationSomeRequest) ProtoReflect() protoreflect.Message
func (*ConfigurationSomeRequest) Reset ¶
func (x *ConfigurationSomeRequest) Reset()
func (*ConfigurationSomeRequest) String ¶
func (x *ConfigurationSomeRequest) String() string
type ConfigurationSomeResponse ¶
type ConfigurationSomeResponse 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 *Configuration `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Error is an optional field. // It should be filled when there is an error in the GetSome process. Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationSomeResponse) Descriptor
deprecated
func (*ConfigurationSomeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationSomeResponse.ProtoReflect.Descriptor instead.
func (*ConfigurationSomeResponse) GetError ¶
func (x *ConfigurationSomeResponse) GetError() *wrapperspb.StringValue
func (*ConfigurationSomeResponse) GetTime ¶
func (x *ConfigurationSomeResponse) GetTime() *timestamppb.Timestamp
func (*ConfigurationSomeResponse) GetValue ¶
func (x *ConfigurationSomeResponse) GetValue() *Configuration
func (*ConfigurationSomeResponse) ProtoMessage ¶
func (*ConfigurationSomeResponse) ProtoMessage()
func (*ConfigurationSomeResponse) ProtoReflect ¶
func (x *ConfigurationSomeResponse) ProtoReflect() protoreflect.Message
func (*ConfigurationSomeResponse) Reset ¶
func (x *ConfigurationSomeResponse) Reset()
func (*ConfigurationSomeResponse) String ¶
func (x *ConfigurationSomeResponse) String() string
type ConfigurationStreamRequest ¶
type ConfigurationStreamRequest 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 []*Configuration `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each Configuration at end. // - Each Configuration response is fully-specified (all fields set). // - start: Returns the state of each Configuration at start, followed by updates until now. // - Each Configuration response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each Configuration at start, followed by updates // until end. // - Each Configuration response at start is fully-specified, but updates until end may // be partial. // // 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 (*ConfigurationStreamRequest) Descriptor
deprecated
func (*ConfigurationStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationStreamRequest.ProtoReflect.Descriptor instead.
func (*ConfigurationStreamRequest) GetPartialEqFilter ¶
func (x *ConfigurationStreamRequest) GetPartialEqFilter() []*Configuration
func (*ConfigurationStreamRequest) GetTime ¶
func (x *ConfigurationStreamRequest) GetTime() *time.TimeBounds
func (*ConfigurationStreamRequest) ProtoMessage ¶
func (*ConfigurationStreamRequest) ProtoMessage()
func (*ConfigurationStreamRequest) ProtoReflect ¶
func (x *ConfigurationStreamRequest) ProtoReflect() protoreflect.Message
func (*ConfigurationStreamRequest) Reset ¶
func (x *ConfigurationStreamRequest) Reset()
func (*ConfigurationStreamRequest) String ¶
func (x *ConfigurationStreamRequest) String() string
type ConfigurationStreamResponse ¶
type ConfigurationStreamResponse 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 *Configuration `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this Configuration's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the Configuration 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 (*ConfigurationStreamResponse) Descriptor
deprecated
func (*ConfigurationStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationStreamResponse.ProtoReflect.Descriptor instead.
func (*ConfigurationStreamResponse) GetTime ¶
func (x *ConfigurationStreamResponse) GetTime() *timestamppb.Timestamp
func (*ConfigurationStreamResponse) GetType ¶
func (x *ConfigurationStreamResponse) GetType() subscriptions.Operation
func (*ConfigurationStreamResponse) GetValue ¶
func (x *ConfigurationStreamResponse) GetValue() *Configuration
func (*ConfigurationStreamResponse) ProtoMessage ¶
func (*ConfigurationStreamResponse) ProtoMessage()
func (*ConfigurationStreamResponse) ProtoReflect ¶
func (x *ConfigurationStreamResponse) ProtoReflect() protoreflect.Message
func (*ConfigurationStreamResponse) Reset ¶
func (x *ConfigurationStreamResponse) Reset()
func (*ConfigurationStreamResponse) String ¶
func (x *ConfigurationStreamResponse) String() string
type DiffEntries ¶
type DiffEntries struct { // values - list of diff entries Values []*DiffEntry `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
DiffEntries indicates potential multiple lines of config diff
func (*DiffEntries) Descriptor
deprecated
func (*DiffEntries) Descriptor() ([]byte, []int)
Deprecated: Use DiffEntries.ProtoReflect.Descriptor instead.
func (*DiffEntries) GetValues ¶
func (x *DiffEntries) GetValues() []*DiffEntry
func (*DiffEntries) ProtoMessage ¶
func (*DiffEntries) ProtoMessage()
func (*DiffEntries) ProtoReflect ¶
func (x *DiffEntries) ProtoReflect() protoreflect.Message
func (*DiffEntries) Reset ¶
func (x *DiffEntries) Reset()
func (*DiffEntries) String ¶
func (x *DiffEntries) String() string
type DiffEntry ¶
type DiffEntry struct { // op - type of diff Op DiffOp `protobuf:"varint,1,opt,name=op,proto3,enum=arista.configstatus.v1.DiffOp" json:"op,omitempty"` // a_line_num - line number in A this diff applies to ALineNum *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=a_line_num,json=aLineNum,proto3" json:"a_line_num,omitempty"` // b_line_num - line number in B this diff applies to BLineNum *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=b_line_num,json=bLineNum,proto3" json:"b_line_num,omitempty"` // b_parent_line_num line number of the parent command in B BParentLineNum *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=b_parent_line_num,json=bParentLineNum,proto3" json:"b_parent_line_num,omitempty"` // a_line content of config line in A ALine *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=a_line,json=aLine,proto3" json:"a_line,omitempty"` // b_line content of config line in B BLine *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=b_line,json=bLine,proto3" json:"b_line,omitempty"` // a_filter_code Config filter code of the line in A AFilterCode ConfigFilterCode `` /* 142-byte string literal not displayed */ // b_filter_code Config filter code of the line in B BFilterCode ConfigFilterCode `` /* 142-byte string literal not displayed */ // a_parent_line_num line number of the parent command in A AParentLineNum *wrapperspb.Int32Value `protobuf:"bytes,9,opt,name=a_parent_line_num,json=aParentLineNum,proto3" json:"a_parent_line_num,omitempty"` // contains filtered or unexported fields }
DiffEntry represents one entry in a Diff
func (*DiffEntry) Descriptor
deprecated
func (*DiffEntry) GetAFilterCode ¶
func (x *DiffEntry) GetAFilterCode() ConfigFilterCode
func (*DiffEntry) GetALine ¶
func (x *DiffEntry) GetALine() *wrapperspb.StringValue
func (*DiffEntry) GetALineNum ¶
func (x *DiffEntry) GetALineNum() *wrapperspb.Int32Value
func (*DiffEntry) GetAParentLineNum ¶
func (x *DiffEntry) GetAParentLineNum() *wrapperspb.Int32Value
func (*DiffEntry) GetBFilterCode ¶
func (x *DiffEntry) GetBFilterCode() ConfigFilterCode
func (*DiffEntry) GetBLine ¶
func (x *DiffEntry) GetBLine() *wrapperspb.StringValue
func (*DiffEntry) GetBLineNum ¶
func (x *DiffEntry) GetBLineNum() *wrapperspb.Int32Value
func (*DiffEntry) GetBParentLineNum ¶
func (x *DiffEntry) GetBParentLineNum() *wrapperspb.Int32Value
func (*DiffEntry) ProtoMessage ¶
func (*DiffEntry) ProtoMessage()
func (*DiffEntry) ProtoReflect ¶
func (x *DiffEntry) ProtoReflect() protoreflect.Message
type DiffOp ¶
type DiffOp int32
DiffOp is the operation to a line from one side of diff to get to another
const ( // DIFF_OP_UNSPECIFIED uninitialized DiffOp_DIFF_OP_UNSPECIFIED DiffOp = 0 // DIFF_OP_NOP indicates no change. A and B are identical at this line DiffOp_DIFF_OP_NOP DiffOp = 1 // DIFF_OP_IGNORE indicates a line that's ignored in either A or B. // One of a_line_num or b_line_num will be -1 DiffOp_DIFF_OP_IGNORE DiffOp = 2 // DIFF_OP_ADD is an addition of a line from A DiffOp_DIFF_OP_ADD DiffOp = 3 // DIFF_OP_DELETE is deletion of a line from B DiffOp_DIFF_OP_DELETE DiffOp = 4 // DIFF_OP_CHANGE is a modification to a line in A DiffOp_DIFF_OP_CHANGE DiffOp = 5 )
func (DiffOp) Descriptor ¶
func (DiffOp) Descriptor() protoreflect.EnumDescriptor
func (DiffOp) EnumDescriptor
deprecated
func (DiffOp) Number ¶
func (x DiffOp) Number() protoreflect.EnumNumber
func (DiffOp) Type ¶
func (DiffOp) Type() protoreflect.EnumType
type ErrorCode ¶
type ErrorCode int32
ErrorCode indicates warnings and errors produced during computing config
const ( // ERROR_CODE_UNSPECIFIED uninitialized value ErrorCode_ERROR_CODE_UNSPECIFIED ErrorCode = 0 // ERROR_CODE_DEVICE_WARNING indicates device warning ErrorCode_ERROR_CODE_DEVICE_WARNING ErrorCode = 1 // ERROR_CODE_DEVICE_ERROR indicates device error ErrorCode_ERROR_CODE_DEVICE_ERROR ErrorCode = 2 // ERROR_CODE_UNREACHABLE_DEVICE indicates the device cannot be reached ErrorCode_ERROR_CODE_UNREACHABLE_DEVICE ErrorCode = 3 // ERROR_CODE_CONFIG_FILTER_ERROR indicates error from partial config management filters ErrorCode_ERROR_CODE_CONFIG_FILTER_ERROR ErrorCode = 4 // ERROR_CODE_INTERNAL indicates internal errors ErrorCode_ERROR_CODE_INTERNAL ErrorCode = 5 )
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type MetaResponse ¶
type MetaResponse struct { // Time holds the timestamp of the last item included in the metadata calculation. Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the 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,2,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` // Count is the number of items present under the conditions of the request. Count *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*MetaResponse) Descriptor
deprecated
func (*MetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use MetaResponse.ProtoReflect.Descriptor instead.
func (*MetaResponse) GetCount ¶
func (x *MetaResponse) GetCount() *wrapperspb.UInt32Value
func (*MetaResponse) GetTime ¶
func (x *MetaResponse) GetTime() *timestamppb.Timestamp
func (*MetaResponse) GetType ¶
func (x *MetaResponse) GetType() subscriptions.Operation
func (*MetaResponse) ProtoMessage ¶
func (*MetaResponse) ProtoMessage()
func (*MetaResponse) ProtoReflect ¶
func (x *MetaResponse) ProtoReflect() protoreflect.Message
func (*MetaResponse) Reset ¶
func (x *MetaResponse) Reset()
func (*MetaResponse) String ¶
func (x *MetaResponse) String() string
type SecurityProfile ¶
type SecurityProfile struct { // key uniquely identifies the configuration Key *ConfigKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // config describes the security profile config body Config *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
SecurityProfile holds the EOS configuration for the security profile.
func (*SecurityProfile) Descriptor
deprecated
func (*SecurityProfile) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfile.ProtoReflect.Descriptor instead.
func (*SecurityProfile) GetConfig ¶
func (x *SecurityProfile) GetConfig() *wrapperspb.StringValue
func (*SecurityProfile) GetKey ¶
func (x *SecurityProfile) GetKey() *ConfigKey
func (*SecurityProfile) ProtoMessage ¶
func (*SecurityProfile) ProtoMessage()
func (*SecurityProfile) ProtoReflect ¶
func (x *SecurityProfile) ProtoReflect() protoreflect.Message
func (*SecurityProfile) Reset ¶
func (x *SecurityProfile) Reset()
func (*SecurityProfile) String ¶
func (x *SecurityProfile) String() string
type SecurityProfileBatchedStreamRequest ¶
type SecurityProfileBatchedStreamRequest 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 []*SecurityProfile `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each SecurityProfile at end. // - Each SecurityProfile response is fully-specified (all fields set). // - start: Returns the state of each SecurityProfile at start, followed by updates until now. // - Each SecurityProfile response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each SecurityProfile at start, followed by updates // until end. // - Each SecurityProfile response at start is fully-specified, but updates until end may // be partial. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // MaxMessages limits the maximum number of messages that can be contained in one batch. // MaxMessages is required to be at least 1. // The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) // INTERNAL_BATCH_LIMIT is set based on the maximum message size. MaxMessages *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileBatchedStreamRequest) Descriptor
deprecated
func (*SecurityProfileBatchedStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileBatchedStreamRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileBatchedStreamRequest) GetMaxMessages ¶
func (x *SecurityProfileBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
func (*SecurityProfileBatchedStreamRequest) GetPartialEqFilter ¶
func (x *SecurityProfileBatchedStreamRequest) GetPartialEqFilter() []*SecurityProfile
func (*SecurityProfileBatchedStreamRequest) GetTime ¶
func (x *SecurityProfileBatchedStreamRequest) GetTime() *time.TimeBounds
func (*SecurityProfileBatchedStreamRequest) ProtoMessage ¶
func (*SecurityProfileBatchedStreamRequest) ProtoMessage()
func (*SecurityProfileBatchedStreamRequest) ProtoReflect ¶
func (x *SecurityProfileBatchedStreamRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileBatchedStreamRequest) Reset ¶
func (x *SecurityProfileBatchedStreamRequest) Reset()
func (*SecurityProfileBatchedStreamRequest) String ¶
func (x *SecurityProfileBatchedStreamRequest) String() string
type SecurityProfileBatchedStreamResponse ¶
type SecurityProfileBatchedStreamResponse struct { // Values are the values deemed relevant to the initiating request. // The length of this structure is guaranteed to be between (inclusive) 1 and // min(req.max_messages, INTERNAL_BATCH_LIMIT). Responses []*SecurityProfileStreamResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileBatchedStreamResponse) Descriptor
deprecated
func (*SecurityProfileBatchedStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileBatchedStreamResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileBatchedStreamResponse) GetResponses ¶
func (x *SecurityProfileBatchedStreamResponse) GetResponses() []*SecurityProfileStreamResponse
func (*SecurityProfileBatchedStreamResponse) ProtoMessage ¶
func (*SecurityProfileBatchedStreamResponse) ProtoMessage()
func (*SecurityProfileBatchedStreamResponse) ProtoReflect ¶
func (x *SecurityProfileBatchedStreamResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileBatchedStreamResponse) Reset ¶
func (x *SecurityProfileBatchedStreamResponse) Reset()
func (*SecurityProfileBatchedStreamResponse) String ¶
func (x *SecurityProfileBatchedStreamResponse) String() string
type SecurityProfileComplianceSummary ¶
type SecurityProfileComplianceSummary struct { // sync - sync state of the device Sync ConfigSyncCode `protobuf:"varint,1,opt,name=sync,proto3,enum=arista.configstatus.v1.ConfigSyncCode" json:"sync,omitempty"` // nop_lines is the number of lines with code no-operation NopLines *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=nop_lines,json=nopLines,proto3" json:"nop_lines,omitempty"` // ignored_lines is the number of lines with code IGNORE IgnoredLines *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=ignored_lines,json=ignoredLines,proto3" json:"ignored_lines,omitempty"` // added_lines is the number of lines with code ADD AddedLines *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=added_lines,json=addedLines,proto3" json:"added_lines,omitempty"` // deleted_lines is the number of lines with code DELETE DeletedLines *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=deleted_lines,json=deletedLines,proto3" json:"deleted_lines,omitempty"` // changed_lines is the Number of lines with code CHANGE ChangedLines *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=changed_lines,json=changedLines,proto3" json:"changed_lines,omitempty"` // digest is the digest (SHA-256 hash) of the security profile configuration diff Digest *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=digest,proto3" json:"digest,omitempty"` // running_config_update_time is the timestamp at which running security profile // or running config is updated RunningConfigUpdateTime *timestamppb.Timestamp `` /* 134-byte string literal not displayed */ // designed_config_update_time is the timestamp at which designed security profile or // designed config is updated DesignedConfigUpdateTime *timestamppb.Timestamp `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
SecurityProfileComplianceSummary holds the compliance summary for security profile configuration.
func (*SecurityProfileComplianceSummary) Descriptor
deprecated
func (*SecurityProfileComplianceSummary) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileComplianceSummary.ProtoReflect.Descriptor instead.
func (*SecurityProfileComplianceSummary) GetAddedLines ¶
func (x *SecurityProfileComplianceSummary) GetAddedLines() *wrapperspb.Int32Value
func (*SecurityProfileComplianceSummary) GetChangedLines ¶
func (x *SecurityProfileComplianceSummary) GetChangedLines() *wrapperspb.Int32Value
func (*SecurityProfileComplianceSummary) GetDeletedLines ¶
func (x *SecurityProfileComplianceSummary) GetDeletedLines() *wrapperspb.Int32Value
func (*SecurityProfileComplianceSummary) GetDesignedConfigUpdateTime ¶
func (x *SecurityProfileComplianceSummary) GetDesignedConfigUpdateTime() *timestamppb.Timestamp
func (*SecurityProfileComplianceSummary) GetDigest ¶
func (x *SecurityProfileComplianceSummary) GetDigest() *wrapperspb.StringValue
func (*SecurityProfileComplianceSummary) GetIgnoredLines ¶
func (x *SecurityProfileComplianceSummary) GetIgnoredLines() *wrapperspb.Int32Value
func (*SecurityProfileComplianceSummary) GetNopLines ¶
func (x *SecurityProfileComplianceSummary) GetNopLines() *wrapperspb.Int32Value
func (*SecurityProfileComplianceSummary) GetRunningConfigUpdateTime ¶
func (x *SecurityProfileComplianceSummary) GetRunningConfigUpdateTime() *timestamppb.Timestamp
func (*SecurityProfileComplianceSummary) GetSync ¶
func (x *SecurityProfileComplianceSummary) GetSync() ConfigSyncCode
func (*SecurityProfileComplianceSummary) ProtoMessage ¶
func (*SecurityProfileComplianceSummary) ProtoMessage()
func (*SecurityProfileComplianceSummary) ProtoReflect ¶
func (x *SecurityProfileComplianceSummary) ProtoReflect() protoreflect.Message
func (*SecurityProfileComplianceSummary) Reset ¶
func (x *SecurityProfileComplianceSummary) Reset()
func (*SecurityProfileComplianceSummary) String ¶
func (x *SecurityProfileComplianceSummary) String() string
type SecurityProfileDiff ¶
type SecurityProfileDiff struct { // key represents security profile config diff key Key *ConfigDiffKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // diff represents diff entries Diff *DiffEntries `protobuf:"bytes,2,opt,name=diff,proto3" json:"diff,omitempty"` // contains filtered or unexported fields }
SecurityProfileDiff holds the security profile configuration diff.
func (*SecurityProfileDiff) Descriptor
deprecated
func (*SecurityProfileDiff) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiff.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiff) GetDiff ¶
func (x *SecurityProfileDiff) GetDiff() *DiffEntries
func (*SecurityProfileDiff) GetKey ¶
func (x *SecurityProfileDiff) GetKey() *ConfigDiffKey
func (*SecurityProfileDiff) ProtoMessage ¶
func (*SecurityProfileDiff) ProtoMessage()
func (*SecurityProfileDiff) ProtoReflect ¶
func (x *SecurityProfileDiff) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiff) Reset ¶
func (x *SecurityProfileDiff) Reset()
func (*SecurityProfileDiff) String ¶
func (x *SecurityProfileDiff) String() string
type SecurityProfileDiffBatchedStreamRequest ¶
type SecurityProfileDiffBatchedStreamRequest 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 []*SecurityProfileDiff `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each SecurityProfileDiff at end. // - Each SecurityProfileDiff response is fully-specified (all fields set). // - start: Returns the state of each SecurityProfileDiff at start, followed by updates until now. // - Each SecurityProfileDiff response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each SecurityProfileDiff at start, followed by updates // until end. // - Each SecurityProfileDiff response at start is fully-specified, but updates until end may // be partial. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // MaxMessages limits the maximum number of messages that can be contained in one batch. // MaxMessages is required to be at least 1. // The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) // INTERNAL_BATCH_LIMIT is set based on the maximum message size. MaxMessages *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileDiffBatchedStreamRequest) Descriptor
deprecated
func (*SecurityProfileDiffBatchedStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffBatchedStreamRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffBatchedStreamRequest) GetMaxMessages ¶
func (x *SecurityProfileDiffBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
func (*SecurityProfileDiffBatchedStreamRequest) GetPartialEqFilter ¶
func (x *SecurityProfileDiffBatchedStreamRequest) GetPartialEqFilter() []*SecurityProfileDiff
func (*SecurityProfileDiffBatchedStreamRequest) GetTime ¶
func (x *SecurityProfileDiffBatchedStreamRequest) GetTime() *time.TimeBounds
func (*SecurityProfileDiffBatchedStreamRequest) ProtoMessage ¶
func (*SecurityProfileDiffBatchedStreamRequest) ProtoMessage()
func (*SecurityProfileDiffBatchedStreamRequest) ProtoReflect ¶
func (x *SecurityProfileDiffBatchedStreamRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffBatchedStreamRequest) Reset ¶
func (x *SecurityProfileDiffBatchedStreamRequest) Reset()
func (*SecurityProfileDiffBatchedStreamRequest) String ¶
func (x *SecurityProfileDiffBatchedStreamRequest) String() string
type SecurityProfileDiffBatchedStreamResponse ¶
type SecurityProfileDiffBatchedStreamResponse struct { // Values are the values deemed relevant to the initiating request. // The length of this structure is guaranteed to be between (inclusive) 1 and // min(req.max_messages, INTERNAL_BATCH_LIMIT). Responses []*SecurityProfileDiffStreamResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileDiffBatchedStreamResponse) Descriptor
deprecated
func (*SecurityProfileDiffBatchedStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffBatchedStreamResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffBatchedStreamResponse) GetResponses ¶
func (x *SecurityProfileDiffBatchedStreamResponse) GetResponses() []*SecurityProfileDiffStreamResponse
func (*SecurityProfileDiffBatchedStreamResponse) ProtoMessage ¶
func (*SecurityProfileDiffBatchedStreamResponse) ProtoMessage()
func (*SecurityProfileDiffBatchedStreamResponse) ProtoReflect ¶
func (x *SecurityProfileDiffBatchedStreamResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffBatchedStreamResponse) Reset ¶
func (x *SecurityProfileDiffBatchedStreamResponse) Reset()
func (*SecurityProfileDiffBatchedStreamResponse) String ¶
func (x *SecurityProfileDiffBatchedStreamResponse) String() string
type SecurityProfileDiffRequest ¶
type SecurityProfileDiffRequest struct { // Key uniquely identifies a SecurityProfileDiff instance to retrieve. // This value must be populated. Key *ConfigDiffKey `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 (*SecurityProfileDiffRequest) Descriptor
deprecated
func (*SecurityProfileDiffRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffRequest) GetKey ¶
func (x *SecurityProfileDiffRequest) GetKey() *ConfigDiffKey
func (*SecurityProfileDiffRequest) GetTime ¶
func (x *SecurityProfileDiffRequest) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffRequest) ProtoMessage ¶
func (*SecurityProfileDiffRequest) ProtoMessage()
func (*SecurityProfileDiffRequest) ProtoReflect ¶
func (x *SecurityProfileDiffRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffRequest) Reset ¶
func (x *SecurityProfileDiffRequest) Reset()
func (*SecurityProfileDiffRequest) String ¶
func (x *SecurityProfileDiffRequest) String() string
type SecurityProfileDiffResponse ¶
type SecurityProfileDiffResponse 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 *SecurityProfileDiff `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // SecurityProfileDiff instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileDiffResponse) Descriptor
deprecated
func (*SecurityProfileDiffResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffResponse) GetTime ¶
func (x *SecurityProfileDiffResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffResponse) GetValue ¶
func (x *SecurityProfileDiffResponse) GetValue() *SecurityProfileDiff
func (*SecurityProfileDiffResponse) ProtoMessage ¶
func (*SecurityProfileDiffResponse) ProtoMessage()
func (*SecurityProfileDiffResponse) ProtoReflect ¶
func (x *SecurityProfileDiffResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffResponse) Reset ¶
func (x *SecurityProfileDiffResponse) Reset()
func (*SecurityProfileDiffResponse) String ¶
func (x *SecurityProfileDiffResponse) String() string
type SecurityProfileDiffServiceClient ¶
type SecurityProfileDiffServiceClient interface { GetOne(ctx context.Context, in *SecurityProfileDiffRequest, opts ...grpc.CallOption) (*SecurityProfileDiffResponse, error) GetSome(ctx context.Context, in *SecurityProfileDiffSomeRequest, opts ...grpc.CallOption) (SecurityProfileDiffService_GetSomeClient, error) GetAll(ctx context.Context, in *SecurityProfileDiffStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffService_GetAllClient, error) Subscribe(ctx context.Context, in *SecurityProfileDiffStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffService_SubscribeClient, error) GetMeta(ctx context.Context, in *SecurityProfileDiffStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error) SubscribeMeta(ctx context.Context, in *SecurityProfileDiffStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffService_SubscribeMetaClient, error) GetAllBatched(ctx context.Context, in *SecurityProfileDiffBatchedStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffService_GetAllBatchedClient, error) SubscribeBatched(ctx context.Context, in *SecurityProfileDiffBatchedStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffService_SubscribeBatchedClient, error) }
SecurityProfileDiffServiceClient is the client API for SecurityProfileDiffService 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 NewSecurityProfileDiffServiceClient ¶
func NewSecurityProfileDiffServiceClient(cc grpc.ClientConnInterface) SecurityProfileDiffServiceClient
type SecurityProfileDiffServiceServer ¶
type SecurityProfileDiffServiceServer interface { GetOne(context.Context, *SecurityProfileDiffRequest) (*SecurityProfileDiffResponse, error) GetSome(*SecurityProfileDiffSomeRequest, SecurityProfileDiffService_GetSomeServer) error GetAll(*SecurityProfileDiffStreamRequest, SecurityProfileDiffService_GetAllServer) error Subscribe(*SecurityProfileDiffStreamRequest, SecurityProfileDiffService_SubscribeServer) error GetMeta(context.Context, *SecurityProfileDiffStreamRequest) (*MetaResponse, error) SubscribeMeta(*SecurityProfileDiffStreamRequest, SecurityProfileDiffService_SubscribeMetaServer) error GetAllBatched(*SecurityProfileDiffBatchedStreamRequest, SecurityProfileDiffService_GetAllBatchedServer) error SubscribeBatched(*SecurityProfileDiffBatchedStreamRequest, SecurityProfileDiffService_SubscribeBatchedServer) error // contains filtered or unexported methods }
SecurityProfileDiffServiceServer is the server API for SecurityProfileDiffService service. All implementations must embed UnimplementedSecurityProfileDiffServiceServer for forward compatibility
type SecurityProfileDiffService_GetAllBatchedClient ¶
type SecurityProfileDiffService_GetAllBatchedClient interface { Recv() (*SecurityProfileDiffBatchedStreamResponse, error) grpc.ClientStream }
type SecurityProfileDiffService_GetAllBatchedServer ¶
type SecurityProfileDiffService_GetAllBatchedServer interface { Send(*SecurityProfileDiffBatchedStreamResponse) error grpc.ServerStream }
type SecurityProfileDiffService_GetAllClient ¶
type SecurityProfileDiffService_GetAllClient interface { Recv() (*SecurityProfileDiffStreamResponse, error) grpc.ClientStream }
type SecurityProfileDiffService_GetAllServer ¶
type SecurityProfileDiffService_GetAllServer interface { Send(*SecurityProfileDiffStreamResponse) error grpc.ServerStream }
type SecurityProfileDiffService_GetSomeClient ¶
type SecurityProfileDiffService_GetSomeClient interface { Recv() (*SecurityProfileDiffSomeResponse, error) grpc.ClientStream }
type SecurityProfileDiffService_GetSomeServer ¶
type SecurityProfileDiffService_GetSomeServer interface { Send(*SecurityProfileDiffSomeResponse) error grpc.ServerStream }
type SecurityProfileDiffService_SubscribeBatchedClient ¶
type SecurityProfileDiffService_SubscribeBatchedClient interface { Recv() (*SecurityProfileDiffBatchedStreamResponse, error) grpc.ClientStream }
type SecurityProfileDiffService_SubscribeBatchedServer ¶
type SecurityProfileDiffService_SubscribeBatchedServer interface { Send(*SecurityProfileDiffBatchedStreamResponse) error grpc.ServerStream }
type SecurityProfileDiffService_SubscribeClient ¶
type SecurityProfileDiffService_SubscribeClient interface { Recv() (*SecurityProfileDiffStreamResponse, error) grpc.ClientStream }
type SecurityProfileDiffService_SubscribeMetaClient ¶
type SecurityProfileDiffService_SubscribeMetaClient interface { Recv() (*MetaResponse, error) grpc.ClientStream }
type SecurityProfileDiffService_SubscribeMetaServer ¶
type SecurityProfileDiffService_SubscribeMetaServer interface { Send(*MetaResponse) error grpc.ServerStream }
type SecurityProfileDiffService_SubscribeServer ¶
type SecurityProfileDiffService_SubscribeServer interface { Send(*SecurityProfileDiffStreamResponse) error grpc.ServerStream }
type SecurityProfileDiffSomeRequest ¶
type SecurityProfileDiffSomeRequest struct { Keys []*ConfigDiffKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,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 (*SecurityProfileDiffSomeRequest) Descriptor
deprecated
func (*SecurityProfileDiffSomeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSomeRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSomeRequest) GetKeys ¶
func (x *SecurityProfileDiffSomeRequest) GetKeys() []*ConfigDiffKey
func (*SecurityProfileDiffSomeRequest) GetTime ¶
func (x *SecurityProfileDiffSomeRequest) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffSomeRequest) ProtoMessage ¶
func (*SecurityProfileDiffSomeRequest) ProtoMessage()
func (*SecurityProfileDiffSomeRequest) ProtoReflect ¶
func (x *SecurityProfileDiffSomeRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSomeRequest) Reset ¶
func (x *SecurityProfileDiffSomeRequest) Reset()
func (*SecurityProfileDiffSomeRequest) String ¶
func (x *SecurityProfileDiffSomeRequest) String() string
type SecurityProfileDiffSomeResponse ¶
type SecurityProfileDiffSomeResponse 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 *SecurityProfileDiff `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Error is an optional field. // It should be filled when there is an error in the GetSome process. Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileDiffSomeResponse) Descriptor
deprecated
func (*SecurityProfileDiffSomeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSomeResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSomeResponse) GetError ¶
func (x *SecurityProfileDiffSomeResponse) GetError() *wrapperspb.StringValue
func (*SecurityProfileDiffSomeResponse) GetTime ¶
func (x *SecurityProfileDiffSomeResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffSomeResponse) GetValue ¶
func (x *SecurityProfileDiffSomeResponse) GetValue() *SecurityProfileDiff
func (*SecurityProfileDiffSomeResponse) ProtoMessage ¶
func (*SecurityProfileDiffSomeResponse) ProtoMessage()
func (*SecurityProfileDiffSomeResponse) ProtoReflect ¶
func (x *SecurityProfileDiffSomeResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSomeResponse) Reset ¶
func (x *SecurityProfileDiffSomeResponse) Reset()
func (*SecurityProfileDiffSomeResponse) String ¶
func (x *SecurityProfileDiffSomeResponse) String() string
type SecurityProfileDiffStreamRequest ¶
type SecurityProfileDiffStreamRequest 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 []*SecurityProfileDiff `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each SecurityProfileDiff at end. // - Each SecurityProfileDiff response is fully-specified (all fields set). // - start: Returns the state of each SecurityProfileDiff at start, followed by updates until now. // - Each SecurityProfileDiff response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each SecurityProfileDiff at start, followed by updates // until end. // - Each SecurityProfileDiff response at start is fully-specified, but updates until end may // be partial. // // 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 (*SecurityProfileDiffStreamRequest) Descriptor
deprecated
func (*SecurityProfileDiffStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffStreamRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffStreamRequest) GetPartialEqFilter ¶
func (x *SecurityProfileDiffStreamRequest) GetPartialEqFilter() []*SecurityProfileDiff
func (*SecurityProfileDiffStreamRequest) GetTime ¶
func (x *SecurityProfileDiffStreamRequest) GetTime() *time.TimeBounds
func (*SecurityProfileDiffStreamRequest) ProtoMessage ¶
func (*SecurityProfileDiffStreamRequest) ProtoMessage()
func (*SecurityProfileDiffStreamRequest) ProtoReflect ¶
func (x *SecurityProfileDiffStreamRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffStreamRequest) Reset ¶
func (x *SecurityProfileDiffStreamRequest) Reset()
func (*SecurityProfileDiffStreamRequest) String ¶
func (x *SecurityProfileDiffStreamRequest) String() string
type SecurityProfileDiffStreamResponse ¶
type SecurityProfileDiffStreamResponse 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 *SecurityProfileDiff `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this SecurityProfileDiff's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the SecurityProfileDiff 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 (*SecurityProfileDiffStreamResponse) Descriptor
deprecated
func (*SecurityProfileDiffStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffStreamResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffStreamResponse) GetTime ¶
func (x *SecurityProfileDiffStreamResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffStreamResponse) GetType ¶
func (x *SecurityProfileDiffStreamResponse) GetType() subscriptions.Operation
func (*SecurityProfileDiffStreamResponse) GetValue ¶
func (x *SecurityProfileDiffStreamResponse) GetValue() *SecurityProfileDiff
func (*SecurityProfileDiffStreamResponse) ProtoMessage ¶
func (*SecurityProfileDiffStreamResponse) ProtoMessage()
func (*SecurityProfileDiffStreamResponse) ProtoReflect ¶
func (x *SecurityProfileDiffStreamResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffStreamResponse) Reset ¶
func (x *SecurityProfileDiffStreamResponse) Reset()
func (*SecurityProfileDiffStreamResponse) String ¶
func (x *SecurityProfileDiffStreamResponse) String() string
type SecurityProfileDiffSummary ¶
type SecurityProfileDiffSummary struct { // key uniquely identifies the Summary Key *SummaryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // summary is the security profile configuration compliance summary Summary *SecurityProfileComplianceSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
SecurityProfileDiffSummary holds device compliance summary w.r.t security profile.
func (*SecurityProfileDiffSummary) Descriptor
deprecated
func (*SecurityProfileDiffSummary) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummary.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummary) GetKey ¶
func (x *SecurityProfileDiffSummary) GetKey() *SummaryKey
func (*SecurityProfileDiffSummary) GetSummary ¶
func (x *SecurityProfileDiffSummary) GetSummary() *SecurityProfileComplianceSummary
func (*SecurityProfileDiffSummary) ProtoMessage ¶
func (*SecurityProfileDiffSummary) ProtoMessage()
func (*SecurityProfileDiffSummary) ProtoReflect ¶
func (x *SecurityProfileDiffSummary) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummary) Reset ¶
func (x *SecurityProfileDiffSummary) Reset()
func (*SecurityProfileDiffSummary) String ¶
func (x *SecurityProfileDiffSummary) String() string
type SecurityProfileDiffSummaryBatchedStreamRequest ¶
type SecurityProfileDiffSummaryBatchedStreamRequest 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 []*SecurityProfileDiffSummary `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each SecurityProfileDiffSummary at end. // - Each SecurityProfileDiffSummary response is fully-specified (all fields set). // - start: Returns the state of each SecurityProfileDiffSummary at start, followed by updates until now. // - Each SecurityProfileDiffSummary response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each SecurityProfileDiffSummary at start, followed by updates // until end. // - Each SecurityProfileDiffSummary response at start is fully-specified, but updates until end may // be partial. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // MaxMessages limits the maximum number of messages that can be contained in one batch. // MaxMessages is required to be at least 1. // The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) // INTERNAL_BATCH_LIMIT is set based on the maximum message size. MaxMessages *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileDiffSummaryBatchedStreamRequest) Descriptor
deprecated
func (*SecurityProfileDiffSummaryBatchedStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummaryBatchedStreamRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummaryBatchedStreamRequest) GetMaxMessages ¶
func (x *SecurityProfileDiffSummaryBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
func (*SecurityProfileDiffSummaryBatchedStreamRequest) GetPartialEqFilter ¶
func (x *SecurityProfileDiffSummaryBatchedStreamRequest) GetPartialEqFilter() []*SecurityProfileDiffSummary
func (*SecurityProfileDiffSummaryBatchedStreamRequest) GetTime ¶
func (x *SecurityProfileDiffSummaryBatchedStreamRequest) GetTime() *time.TimeBounds
func (*SecurityProfileDiffSummaryBatchedStreamRequest) ProtoMessage ¶
func (*SecurityProfileDiffSummaryBatchedStreamRequest) ProtoMessage()
func (*SecurityProfileDiffSummaryBatchedStreamRequest) ProtoReflect ¶
func (x *SecurityProfileDiffSummaryBatchedStreamRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummaryBatchedStreamRequest) Reset ¶
func (x *SecurityProfileDiffSummaryBatchedStreamRequest) Reset()
func (*SecurityProfileDiffSummaryBatchedStreamRequest) String ¶
func (x *SecurityProfileDiffSummaryBatchedStreamRequest) String() string
type SecurityProfileDiffSummaryBatchedStreamResponse ¶
type SecurityProfileDiffSummaryBatchedStreamResponse struct { // Values are the values deemed relevant to the initiating request. // The length of this structure is guaranteed to be between (inclusive) 1 and // min(req.max_messages, INTERNAL_BATCH_LIMIT). Responses []*SecurityProfileDiffSummaryStreamResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileDiffSummaryBatchedStreamResponse) Descriptor
deprecated
func (*SecurityProfileDiffSummaryBatchedStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummaryBatchedStreamResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummaryBatchedStreamResponse) GetResponses ¶
func (x *SecurityProfileDiffSummaryBatchedStreamResponse) GetResponses() []*SecurityProfileDiffSummaryStreamResponse
func (*SecurityProfileDiffSummaryBatchedStreamResponse) ProtoMessage ¶
func (*SecurityProfileDiffSummaryBatchedStreamResponse) ProtoMessage()
func (*SecurityProfileDiffSummaryBatchedStreamResponse) ProtoReflect ¶
func (x *SecurityProfileDiffSummaryBatchedStreamResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummaryBatchedStreamResponse) Reset ¶
func (x *SecurityProfileDiffSummaryBatchedStreamResponse) Reset()
func (*SecurityProfileDiffSummaryBatchedStreamResponse) String ¶
func (x *SecurityProfileDiffSummaryBatchedStreamResponse) String() string
type SecurityProfileDiffSummaryRequest ¶
type SecurityProfileDiffSummaryRequest struct { // Key uniquely identifies a SecurityProfileDiffSummary instance to retrieve. // This value must be populated. Key *SummaryKey `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 (*SecurityProfileDiffSummaryRequest) Descriptor
deprecated
func (*SecurityProfileDiffSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummaryRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummaryRequest) GetKey ¶
func (x *SecurityProfileDiffSummaryRequest) GetKey() *SummaryKey
func (*SecurityProfileDiffSummaryRequest) GetTime ¶
func (x *SecurityProfileDiffSummaryRequest) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffSummaryRequest) ProtoMessage ¶
func (*SecurityProfileDiffSummaryRequest) ProtoMessage()
func (*SecurityProfileDiffSummaryRequest) ProtoReflect ¶
func (x *SecurityProfileDiffSummaryRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummaryRequest) Reset ¶
func (x *SecurityProfileDiffSummaryRequest) Reset()
func (*SecurityProfileDiffSummaryRequest) String ¶
func (x *SecurityProfileDiffSummaryRequest) String() string
type SecurityProfileDiffSummaryResponse ¶
type SecurityProfileDiffSummaryResponse 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 *SecurityProfileDiffSummary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // SecurityProfileDiffSummary instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileDiffSummaryResponse) Descriptor
deprecated
func (*SecurityProfileDiffSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummaryResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummaryResponse) GetTime ¶
func (x *SecurityProfileDiffSummaryResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffSummaryResponse) GetValue ¶
func (x *SecurityProfileDiffSummaryResponse) GetValue() *SecurityProfileDiffSummary
func (*SecurityProfileDiffSummaryResponse) ProtoMessage ¶
func (*SecurityProfileDiffSummaryResponse) ProtoMessage()
func (*SecurityProfileDiffSummaryResponse) ProtoReflect ¶
func (x *SecurityProfileDiffSummaryResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummaryResponse) Reset ¶
func (x *SecurityProfileDiffSummaryResponse) Reset()
func (*SecurityProfileDiffSummaryResponse) String ¶
func (x *SecurityProfileDiffSummaryResponse) String() string
type SecurityProfileDiffSummaryServiceClient ¶
type SecurityProfileDiffSummaryServiceClient interface { GetOne(ctx context.Context, in *SecurityProfileDiffSummaryRequest, opts ...grpc.CallOption) (*SecurityProfileDiffSummaryResponse, error) GetSome(ctx context.Context, in *SecurityProfileDiffSummarySomeRequest, opts ...grpc.CallOption) (SecurityProfileDiffSummaryService_GetSomeClient, error) GetAll(ctx context.Context, in *SecurityProfileDiffSummaryStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffSummaryService_GetAllClient, error) Subscribe(ctx context.Context, in *SecurityProfileDiffSummaryStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffSummaryService_SubscribeClient, error) GetMeta(ctx context.Context, in *SecurityProfileDiffSummaryStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error) SubscribeMeta(ctx context.Context, in *SecurityProfileDiffSummaryStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffSummaryService_SubscribeMetaClient, error) GetAllBatched(ctx context.Context, in *SecurityProfileDiffSummaryBatchedStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffSummaryService_GetAllBatchedClient, error) SubscribeBatched(ctx context.Context, in *SecurityProfileDiffSummaryBatchedStreamRequest, opts ...grpc.CallOption) (SecurityProfileDiffSummaryService_SubscribeBatchedClient, error) }
SecurityProfileDiffSummaryServiceClient is the client API for SecurityProfileDiffSummaryService 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 NewSecurityProfileDiffSummaryServiceClient ¶
func NewSecurityProfileDiffSummaryServiceClient(cc grpc.ClientConnInterface) SecurityProfileDiffSummaryServiceClient
type SecurityProfileDiffSummaryServiceServer ¶
type SecurityProfileDiffSummaryServiceServer interface { GetOne(context.Context, *SecurityProfileDiffSummaryRequest) (*SecurityProfileDiffSummaryResponse, error) GetSome(*SecurityProfileDiffSummarySomeRequest, SecurityProfileDiffSummaryService_GetSomeServer) error GetAll(*SecurityProfileDiffSummaryStreamRequest, SecurityProfileDiffSummaryService_GetAllServer) error Subscribe(*SecurityProfileDiffSummaryStreamRequest, SecurityProfileDiffSummaryService_SubscribeServer) error GetMeta(context.Context, *SecurityProfileDiffSummaryStreamRequest) (*MetaResponse, error) SubscribeMeta(*SecurityProfileDiffSummaryStreamRequest, SecurityProfileDiffSummaryService_SubscribeMetaServer) error GetAllBatched(*SecurityProfileDiffSummaryBatchedStreamRequest, SecurityProfileDiffSummaryService_GetAllBatchedServer) error SubscribeBatched(*SecurityProfileDiffSummaryBatchedStreamRequest, SecurityProfileDiffSummaryService_SubscribeBatchedServer) error // contains filtered or unexported methods }
SecurityProfileDiffSummaryServiceServer is the server API for SecurityProfileDiffSummaryService service. All implementations must embed UnimplementedSecurityProfileDiffSummaryServiceServer for forward compatibility
type SecurityProfileDiffSummaryService_GetAllBatchedClient ¶
type SecurityProfileDiffSummaryService_GetAllBatchedClient interface { Recv() (*SecurityProfileDiffSummaryBatchedStreamResponse, error) grpc.ClientStream }
type SecurityProfileDiffSummaryService_GetAllBatchedServer ¶
type SecurityProfileDiffSummaryService_GetAllBatchedServer interface { Send(*SecurityProfileDiffSummaryBatchedStreamResponse) error grpc.ServerStream }
type SecurityProfileDiffSummaryService_GetAllClient ¶
type SecurityProfileDiffSummaryService_GetAllClient interface { Recv() (*SecurityProfileDiffSummaryStreamResponse, error) grpc.ClientStream }
type SecurityProfileDiffSummaryService_GetAllServer ¶
type SecurityProfileDiffSummaryService_GetAllServer interface { Send(*SecurityProfileDiffSummaryStreamResponse) error grpc.ServerStream }
type SecurityProfileDiffSummaryService_GetSomeClient ¶
type SecurityProfileDiffSummaryService_GetSomeClient interface { Recv() (*SecurityProfileDiffSummarySomeResponse, error) grpc.ClientStream }
type SecurityProfileDiffSummaryService_GetSomeServer ¶
type SecurityProfileDiffSummaryService_GetSomeServer interface { Send(*SecurityProfileDiffSummarySomeResponse) error grpc.ServerStream }
type SecurityProfileDiffSummaryService_SubscribeBatchedClient ¶
type SecurityProfileDiffSummaryService_SubscribeBatchedClient interface { Recv() (*SecurityProfileDiffSummaryBatchedStreamResponse, error) grpc.ClientStream }
type SecurityProfileDiffSummaryService_SubscribeBatchedServer ¶
type SecurityProfileDiffSummaryService_SubscribeBatchedServer interface { Send(*SecurityProfileDiffSummaryBatchedStreamResponse) error grpc.ServerStream }
type SecurityProfileDiffSummaryService_SubscribeClient ¶
type SecurityProfileDiffSummaryService_SubscribeClient interface { Recv() (*SecurityProfileDiffSummaryStreamResponse, error) grpc.ClientStream }
type SecurityProfileDiffSummaryService_SubscribeMetaClient ¶
type SecurityProfileDiffSummaryService_SubscribeMetaClient interface { Recv() (*MetaResponse, error) grpc.ClientStream }
type SecurityProfileDiffSummaryService_SubscribeMetaServer ¶
type SecurityProfileDiffSummaryService_SubscribeMetaServer interface { Send(*MetaResponse) error grpc.ServerStream }
type SecurityProfileDiffSummaryService_SubscribeServer ¶
type SecurityProfileDiffSummaryService_SubscribeServer interface { Send(*SecurityProfileDiffSummaryStreamResponse) error grpc.ServerStream }
type SecurityProfileDiffSummarySomeRequest ¶
type SecurityProfileDiffSummarySomeRequest struct { Keys []*SummaryKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,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 (*SecurityProfileDiffSummarySomeRequest) Descriptor
deprecated
func (*SecurityProfileDiffSummarySomeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummarySomeRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummarySomeRequest) GetKeys ¶
func (x *SecurityProfileDiffSummarySomeRequest) GetKeys() []*SummaryKey
func (*SecurityProfileDiffSummarySomeRequest) GetTime ¶
func (x *SecurityProfileDiffSummarySomeRequest) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffSummarySomeRequest) ProtoMessage ¶
func (*SecurityProfileDiffSummarySomeRequest) ProtoMessage()
func (*SecurityProfileDiffSummarySomeRequest) ProtoReflect ¶
func (x *SecurityProfileDiffSummarySomeRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummarySomeRequest) Reset ¶
func (x *SecurityProfileDiffSummarySomeRequest) Reset()
func (*SecurityProfileDiffSummarySomeRequest) String ¶
func (x *SecurityProfileDiffSummarySomeRequest) String() string
type SecurityProfileDiffSummarySomeResponse ¶
type SecurityProfileDiffSummarySomeResponse 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 *SecurityProfileDiffSummary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Error is an optional field. // It should be filled when there is an error in the GetSome process. Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileDiffSummarySomeResponse) Descriptor
deprecated
func (*SecurityProfileDiffSummarySomeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummarySomeResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummarySomeResponse) GetError ¶
func (x *SecurityProfileDiffSummarySomeResponse) GetError() *wrapperspb.StringValue
func (*SecurityProfileDiffSummarySomeResponse) GetTime ¶
func (x *SecurityProfileDiffSummarySomeResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffSummarySomeResponse) GetValue ¶
func (x *SecurityProfileDiffSummarySomeResponse) GetValue() *SecurityProfileDiffSummary
func (*SecurityProfileDiffSummarySomeResponse) ProtoMessage ¶
func (*SecurityProfileDiffSummarySomeResponse) ProtoMessage()
func (*SecurityProfileDiffSummarySomeResponse) ProtoReflect ¶
func (x *SecurityProfileDiffSummarySomeResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummarySomeResponse) Reset ¶
func (x *SecurityProfileDiffSummarySomeResponse) Reset()
func (*SecurityProfileDiffSummarySomeResponse) String ¶
func (x *SecurityProfileDiffSummarySomeResponse) String() string
type SecurityProfileDiffSummaryStreamRequest ¶
type SecurityProfileDiffSummaryStreamRequest 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 []*SecurityProfileDiffSummary `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each SecurityProfileDiffSummary at end. // - Each SecurityProfileDiffSummary response is fully-specified (all fields set). // - start: Returns the state of each SecurityProfileDiffSummary at start, followed by updates until now. // - Each SecurityProfileDiffSummary response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each SecurityProfileDiffSummary at start, followed by updates // until end. // - Each SecurityProfileDiffSummary response at start is fully-specified, but updates until end may // be partial. // // 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 (*SecurityProfileDiffSummaryStreamRequest) Descriptor
deprecated
func (*SecurityProfileDiffSummaryStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummaryStreamRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummaryStreamRequest) GetPartialEqFilter ¶
func (x *SecurityProfileDiffSummaryStreamRequest) GetPartialEqFilter() []*SecurityProfileDiffSummary
func (*SecurityProfileDiffSummaryStreamRequest) GetTime ¶
func (x *SecurityProfileDiffSummaryStreamRequest) GetTime() *time.TimeBounds
func (*SecurityProfileDiffSummaryStreamRequest) ProtoMessage ¶
func (*SecurityProfileDiffSummaryStreamRequest) ProtoMessage()
func (*SecurityProfileDiffSummaryStreamRequest) ProtoReflect ¶
func (x *SecurityProfileDiffSummaryStreamRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummaryStreamRequest) Reset ¶
func (x *SecurityProfileDiffSummaryStreamRequest) Reset()
func (*SecurityProfileDiffSummaryStreamRequest) String ¶
func (x *SecurityProfileDiffSummaryStreamRequest) String() string
type SecurityProfileDiffSummaryStreamResponse ¶
type SecurityProfileDiffSummaryStreamResponse 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 *SecurityProfileDiffSummary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this SecurityProfileDiffSummary's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the SecurityProfileDiffSummary 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 (*SecurityProfileDiffSummaryStreamResponse) Descriptor
deprecated
func (*SecurityProfileDiffSummaryStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileDiffSummaryStreamResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileDiffSummaryStreamResponse) GetTime ¶
func (x *SecurityProfileDiffSummaryStreamResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileDiffSummaryStreamResponse) GetType ¶
func (x *SecurityProfileDiffSummaryStreamResponse) GetType() subscriptions.Operation
func (*SecurityProfileDiffSummaryStreamResponse) GetValue ¶
func (x *SecurityProfileDiffSummaryStreamResponse) GetValue() *SecurityProfileDiffSummary
func (*SecurityProfileDiffSummaryStreamResponse) ProtoMessage ¶
func (*SecurityProfileDiffSummaryStreamResponse) ProtoMessage()
func (*SecurityProfileDiffSummaryStreamResponse) ProtoReflect ¶
func (x *SecurityProfileDiffSummaryStreamResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileDiffSummaryStreamResponse) Reset ¶
func (x *SecurityProfileDiffSummaryStreamResponse) Reset()
func (*SecurityProfileDiffSummaryStreamResponse) String ¶
func (x *SecurityProfileDiffSummaryStreamResponse) String() string
type SecurityProfileRequest ¶
type SecurityProfileRequest struct { // Key uniquely identifies a SecurityProfile instance to retrieve. // This value must be populated. Key *ConfigKey `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 (*SecurityProfileRequest) Descriptor
deprecated
func (*SecurityProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileRequest) GetKey ¶
func (x *SecurityProfileRequest) GetKey() *ConfigKey
func (*SecurityProfileRequest) GetTime ¶
func (x *SecurityProfileRequest) GetTime() *timestamppb.Timestamp
func (*SecurityProfileRequest) ProtoMessage ¶
func (*SecurityProfileRequest) ProtoMessage()
func (*SecurityProfileRequest) ProtoReflect ¶
func (x *SecurityProfileRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileRequest) Reset ¶
func (x *SecurityProfileRequest) Reset()
func (*SecurityProfileRequest) String ¶
func (x *SecurityProfileRequest) String() string
type SecurityProfileResponse ¶
type SecurityProfileResponse 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 *SecurityProfile `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // SecurityProfile instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileResponse) Descriptor
deprecated
func (*SecurityProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileResponse) GetTime ¶
func (x *SecurityProfileResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileResponse) GetValue ¶
func (x *SecurityProfileResponse) GetValue() *SecurityProfile
func (*SecurityProfileResponse) ProtoMessage ¶
func (*SecurityProfileResponse) ProtoMessage()
func (*SecurityProfileResponse) ProtoReflect ¶
func (x *SecurityProfileResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileResponse) Reset ¶
func (x *SecurityProfileResponse) Reset()
func (*SecurityProfileResponse) String ¶
func (x *SecurityProfileResponse) String() string
type SecurityProfileServiceClient ¶
type SecurityProfileServiceClient interface { GetOne(ctx context.Context, in *SecurityProfileRequest, opts ...grpc.CallOption) (*SecurityProfileResponse, error) GetSome(ctx context.Context, in *SecurityProfileSomeRequest, opts ...grpc.CallOption) (SecurityProfileService_GetSomeClient, error) GetAll(ctx context.Context, in *SecurityProfileStreamRequest, opts ...grpc.CallOption) (SecurityProfileService_GetAllClient, error) Subscribe(ctx context.Context, in *SecurityProfileStreamRequest, opts ...grpc.CallOption) (SecurityProfileService_SubscribeClient, error) GetMeta(ctx context.Context, in *SecurityProfileStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error) SubscribeMeta(ctx context.Context, in *SecurityProfileStreamRequest, opts ...grpc.CallOption) (SecurityProfileService_SubscribeMetaClient, error) GetAllBatched(ctx context.Context, in *SecurityProfileBatchedStreamRequest, opts ...grpc.CallOption) (SecurityProfileService_GetAllBatchedClient, error) SubscribeBatched(ctx context.Context, in *SecurityProfileBatchedStreamRequest, opts ...grpc.CallOption) (SecurityProfileService_SubscribeBatchedClient, error) }
SecurityProfileServiceClient is the client API for SecurityProfileService 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 NewSecurityProfileServiceClient ¶
func NewSecurityProfileServiceClient(cc grpc.ClientConnInterface) SecurityProfileServiceClient
type SecurityProfileServiceServer ¶
type SecurityProfileServiceServer interface { GetOne(context.Context, *SecurityProfileRequest) (*SecurityProfileResponse, error) GetSome(*SecurityProfileSomeRequest, SecurityProfileService_GetSomeServer) error GetAll(*SecurityProfileStreamRequest, SecurityProfileService_GetAllServer) error Subscribe(*SecurityProfileStreamRequest, SecurityProfileService_SubscribeServer) error GetMeta(context.Context, *SecurityProfileStreamRequest) (*MetaResponse, error) SubscribeMeta(*SecurityProfileStreamRequest, SecurityProfileService_SubscribeMetaServer) error GetAllBatched(*SecurityProfileBatchedStreamRequest, SecurityProfileService_GetAllBatchedServer) error SubscribeBatched(*SecurityProfileBatchedStreamRequest, SecurityProfileService_SubscribeBatchedServer) error // contains filtered or unexported methods }
SecurityProfileServiceServer is the server API for SecurityProfileService service. All implementations must embed UnimplementedSecurityProfileServiceServer for forward compatibility
type SecurityProfileService_GetAllBatchedClient ¶
type SecurityProfileService_GetAllBatchedClient interface { Recv() (*SecurityProfileBatchedStreamResponse, error) grpc.ClientStream }
type SecurityProfileService_GetAllBatchedServer ¶
type SecurityProfileService_GetAllBatchedServer interface { Send(*SecurityProfileBatchedStreamResponse) error grpc.ServerStream }
type SecurityProfileService_GetAllClient ¶
type SecurityProfileService_GetAllClient interface { Recv() (*SecurityProfileStreamResponse, error) grpc.ClientStream }
type SecurityProfileService_GetAllServer ¶
type SecurityProfileService_GetAllServer interface { Send(*SecurityProfileStreamResponse) error grpc.ServerStream }
type SecurityProfileService_GetSomeClient ¶
type SecurityProfileService_GetSomeClient interface { Recv() (*SecurityProfileSomeResponse, error) grpc.ClientStream }
type SecurityProfileService_GetSomeServer ¶
type SecurityProfileService_GetSomeServer interface { Send(*SecurityProfileSomeResponse) error grpc.ServerStream }
type SecurityProfileService_SubscribeBatchedClient ¶
type SecurityProfileService_SubscribeBatchedClient interface { Recv() (*SecurityProfileBatchedStreamResponse, error) grpc.ClientStream }
type SecurityProfileService_SubscribeBatchedServer ¶
type SecurityProfileService_SubscribeBatchedServer interface { Send(*SecurityProfileBatchedStreamResponse) error grpc.ServerStream }
type SecurityProfileService_SubscribeClient ¶
type SecurityProfileService_SubscribeClient interface { Recv() (*SecurityProfileStreamResponse, error) grpc.ClientStream }
type SecurityProfileService_SubscribeMetaClient ¶
type SecurityProfileService_SubscribeMetaClient interface { Recv() (*MetaResponse, error) grpc.ClientStream }
type SecurityProfileService_SubscribeMetaServer ¶
type SecurityProfileService_SubscribeMetaServer interface { Send(*MetaResponse) error grpc.ServerStream }
type SecurityProfileService_SubscribeServer ¶
type SecurityProfileService_SubscribeServer interface { Send(*SecurityProfileStreamResponse) error grpc.ServerStream }
type SecurityProfileSomeRequest ¶
type SecurityProfileSomeRequest struct { Keys []*ConfigKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,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 (*SecurityProfileSomeRequest) Descriptor
deprecated
func (*SecurityProfileSomeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileSomeRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileSomeRequest) GetKeys ¶
func (x *SecurityProfileSomeRequest) GetKeys() []*ConfigKey
func (*SecurityProfileSomeRequest) GetTime ¶
func (x *SecurityProfileSomeRequest) GetTime() *timestamppb.Timestamp
func (*SecurityProfileSomeRequest) ProtoMessage ¶
func (*SecurityProfileSomeRequest) ProtoMessage()
func (*SecurityProfileSomeRequest) ProtoReflect ¶
func (x *SecurityProfileSomeRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileSomeRequest) Reset ¶
func (x *SecurityProfileSomeRequest) Reset()
func (*SecurityProfileSomeRequest) String ¶
func (x *SecurityProfileSomeRequest) String() string
type SecurityProfileSomeResponse ¶
type SecurityProfileSomeResponse 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 *SecurityProfile `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Error is an optional field. // It should be filled when there is an error in the GetSome process. Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SecurityProfileSomeResponse) Descriptor
deprecated
func (*SecurityProfileSomeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileSomeResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileSomeResponse) GetError ¶
func (x *SecurityProfileSomeResponse) GetError() *wrapperspb.StringValue
func (*SecurityProfileSomeResponse) GetTime ¶
func (x *SecurityProfileSomeResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileSomeResponse) GetValue ¶
func (x *SecurityProfileSomeResponse) GetValue() *SecurityProfile
func (*SecurityProfileSomeResponse) ProtoMessage ¶
func (*SecurityProfileSomeResponse) ProtoMessage()
func (*SecurityProfileSomeResponse) ProtoReflect ¶
func (x *SecurityProfileSomeResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileSomeResponse) Reset ¶
func (x *SecurityProfileSomeResponse) Reset()
func (*SecurityProfileSomeResponse) String ¶
func (x *SecurityProfileSomeResponse) String() string
type SecurityProfileStreamRequest ¶
type SecurityProfileStreamRequest 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 []*SecurityProfile `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each SecurityProfile at end. // - Each SecurityProfile response is fully-specified (all fields set). // - start: Returns the state of each SecurityProfile at start, followed by updates until now. // - Each SecurityProfile response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each SecurityProfile at start, followed by updates // until end. // - Each SecurityProfile response at start is fully-specified, but updates until end may // be partial. // // 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 (*SecurityProfileStreamRequest) Descriptor
deprecated
func (*SecurityProfileStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileStreamRequest.ProtoReflect.Descriptor instead.
func (*SecurityProfileStreamRequest) GetPartialEqFilter ¶
func (x *SecurityProfileStreamRequest) GetPartialEqFilter() []*SecurityProfile
func (*SecurityProfileStreamRequest) GetTime ¶
func (x *SecurityProfileStreamRequest) GetTime() *time.TimeBounds
func (*SecurityProfileStreamRequest) ProtoMessage ¶
func (*SecurityProfileStreamRequest) ProtoMessage()
func (*SecurityProfileStreamRequest) ProtoReflect ¶
func (x *SecurityProfileStreamRequest) ProtoReflect() protoreflect.Message
func (*SecurityProfileStreamRequest) Reset ¶
func (x *SecurityProfileStreamRequest) Reset()
func (*SecurityProfileStreamRequest) String ¶
func (x *SecurityProfileStreamRequest) String() string
type SecurityProfileStreamResponse ¶
type SecurityProfileStreamResponse 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 *SecurityProfile `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this SecurityProfile's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the SecurityProfile 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 (*SecurityProfileStreamResponse) Descriptor
deprecated
func (*SecurityProfileStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfileStreamResponse.ProtoReflect.Descriptor instead.
func (*SecurityProfileStreamResponse) GetTime ¶
func (x *SecurityProfileStreamResponse) GetTime() *timestamppb.Timestamp
func (*SecurityProfileStreamResponse) GetType ¶
func (x *SecurityProfileStreamResponse) GetType() subscriptions.Operation
func (*SecurityProfileStreamResponse) GetValue ¶
func (x *SecurityProfileStreamResponse) GetValue() *SecurityProfile
func (*SecurityProfileStreamResponse) ProtoMessage ¶
func (*SecurityProfileStreamResponse) ProtoMessage()
func (*SecurityProfileStreamResponse) ProtoReflect ¶
func (x *SecurityProfileStreamResponse) ProtoReflect() protoreflect.Message
func (*SecurityProfileStreamResponse) Reset ¶
func (x *SecurityProfileStreamResponse) Reset()
func (*SecurityProfileStreamResponse) String ¶
func (x *SecurityProfileStreamResponse) String() string
type Summary ¶
type Summary struct { // key spefies the device Key *SummaryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // summary - diff summary of the device Summary *ConfigSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
Summary - Describes the device's diff summary
func (*Summary) Descriptor
deprecated
func (*Summary) GetKey ¶
func (x *Summary) GetKey() *SummaryKey
func (*Summary) GetSummary ¶
func (x *Summary) GetSummary() *ConfigSummary
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) ProtoReflect ¶
func (x *Summary) ProtoReflect() protoreflect.Message
type SummaryBatchedStreamRequest ¶
type SummaryBatchedStreamRequest 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 []*Summary `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each Summary at end. // - Each Summary response is fully-specified (all fields set). // - start: Returns the state of each Summary at start, followed by updates until now. // - Each Summary response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each Summary at start, followed by updates // until end. // - Each Summary response at start is fully-specified, but updates until end may // be partial. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // MaxMessages limits the maximum number of messages that can be contained in one batch. // MaxMessages is required to be at least 1. // The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) // INTERNAL_BATCH_LIMIT is set based on the maximum message size. MaxMessages *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` // contains filtered or unexported fields }
func (*SummaryBatchedStreamRequest) Descriptor
deprecated
func (*SummaryBatchedStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SummaryBatchedStreamRequest.ProtoReflect.Descriptor instead.
func (*SummaryBatchedStreamRequest) GetMaxMessages ¶
func (x *SummaryBatchedStreamRequest) GetMaxMessages() *wrapperspb.UInt32Value
func (*SummaryBatchedStreamRequest) GetPartialEqFilter ¶
func (x *SummaryBatchedStreamRequest) GetPartialEqFilter() []*Summary
func (*SummaryBatchedStreamRequest) GetTime ¶
func (x *SummaryBatchedStreamRequest) GetTime() *time.TimeBounds
func (*SummaryBatchedStreamRequest) ProtoMessage ¶
func (*SummaryBatchedStreamRequest) ProtoMessage()
func (*SummaryBatchedStreamRequest) ProtoReflect ¶
func (x *SummaryBatchedStreamRequest) ProtoReflect() protoreflect.Message
func (*SummaryBatchedStreamRequest) Reset ¶
func (x *SummaryBatchedStreamRequest) Reset()
func (*SummaryBatchedStreamRequest) String ¶
func (x *SummaryBatchedStreamRequest) String() string
type SummaryBatchedStreamResponse ¶
type SummaryBatchedStreamResponse struct { // Values are the values deemed relevant to the initiating request. // The length of this structure is guaranteed to be between (inclusive) 1 and // min(req.max_messages, INTERNAL_BATCH_LIMIT). Responses []*SummaryStreamResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*SummaryBatchedStreamResponse) Descriptor
deprecated
func (*SummaryBatchedStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SummaryBatchedStreamResponse.ProtoReflect.Descriptor instead.
func (*SummaryBatchedStreamResponse) GetResponses ¶
func (x *SummaryBatchedStreamResponse) GetResponses() []*SummaryStreamResponse
func (*SummaryBatchedStreamResponse) ProtoMessage ¶
func (*SummaryBatchedStreamResponse) ProtoMessage()
func (*SummaryBatchedStreamResponse) ProtoReflect ¶
func (x *SummaryBatchedStreamResponse) ProtoReflect() protoreflect.Message
func (*SummaryBatchedStreamResponse) Reset ¶
func (x *SummaryBatchedStreamResponse) Reset()
func (*SummaryBatchedStreamResponse) String ¶
func (x *SummaryBatchedStreamResponse) String() string
type SummaryKey ¶
type SummaryKey struct { // device_id is the serial number 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 }
SummaryKey uniquely identifies a device summary request
func (*SummaryKey) Descriptor
deprecated
func (*SummaryKey) Descriptor() ([]byte, []int)
Deprecated: Use SummaryKey.ProtoReflect.Descriptor instead.
func (*SummaryKey) GetDeviceId ¶
func (x *SummaryKey) GetDeviceId() *wrapperspb.StringValue
func (*SummaryKey) ProtoMessage ¶
func (*SummaryKey) ProtoMessage()
func (*SummaryKey) ProtoReflect ¶
func (x *SummaryKey) ProtoReflect() protoreflect.Message
func (*SummaryKey) Reset ¶
func (x *SummaryKey) Reset()
func (*SummaryKey) String ¶
func (x *SummaryKey) String() string
type SummaryRequest ¶
type SummaryRequest struct { // Key uniquely identifies a Summary instance to retrieve. // This value must be populated. Key *SummaryKey `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 (*SummaryRequest) Descriptor
deprecated
func (*SummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SummaryRequest.ProtoReflect.Descriptor instead.
func (*SummaryRequest) GetKey ¶
func (x *SummaryRequest) GetKey() *SummaryKey
func (*SummaryRequest) GetTime ¶
func (x *SummaryRequest) GetTime() *timestamppb.Timestamp
func (*SummaryRequest) ProtoMessage ¶
func (*SummaryRequest) ProtoMessage()
func (*SummaryRequest) ProtoReflect ¶
func (x *SummaryRequest) ProtoReflect() protoreflect.Message
func (*SummaryRequest) Reset ¶
func (x *SummaryRequest) Reset()
func (*SummaryRequest) String ¶
func (x *SummaryRequest) String() string
type SummaryResponse ¶
type SummaryResponse 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 *Summary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // Summary instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SummaryResponse) Descriptor
deprecated
func (*SummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SummaryResponse.ProtoReflect.Descriptor instead.
func (*SummaryResponse) GetTime ¶
func (x *SummaryResponse) GetTime() *timestamppb.Timestamp
func (*SummaryResponse) GetValue ¶
func (x *SummaryResponse) GetValue() *Summary
func (*SummaryResponse) ProtoMessage ¶
func (*SummaryResponse) ProtoMessage()
func (*SummaryResponse) ProtoReflect ¶
func (x *SummaryResponse) ProtoReflect() protoreflect.Message
func (*SummaryResponse) Reset ¶
func (x *SummaryResponse) Reset()
func (*SummaryResponse) String ¶
func (x *SummaryResponse) String() string
type SummaryServiceClient ¶
type SummaryServiceClient interface { GetOne(ctx context.Context, in *SummaryRequest, opts ...grpc.CallOption) (*SummaryResponse, error) GetSome(ctx context.Context, in *SummarySomeRequest, opts ...grpc.CallOption) (SummaryService_GetSomeClient, error) GetAll(ctx context.Context, in *SummaryStreamRequest, opts ...grpc.CallOption) (SummaryService_GetAllClient, error) Subscribe(ctx context.Context, in *SummaryStreamRequest, opts ...grpc.CallOption) (SummaryService_SubscribeClient, error) GetMeta(ctx context.Context, in *SummaryStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error) SubscribeMeta(ctx context.Context, in *SummaryStreamRequest, opts ...grpc.CallOption) (SummaryService_SubscribeMetaClient, error) GetAllBatched(ctx context.Context, in *SummaryBatchedStreamRequest, opts ...grpc.CallOption) (SummaryService_GetAllBatchedClient, error) SubscribeBatched(ctx context.Context, in *SummaryBatchedStreamRequest, opts ...grpc.CallOption) (SummaryService_SubscribeBatchedClient, error) }
SummaryServiceClient is the client API for SummaryService 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 NewSummaryServiceClient ¶
func NewSummaryServiceClient(cc grpc.ClientConnInterface) SummaryServiceClient
type SummaryServiceServer ¶
type SummaryServiceServer interface { GetOne(context.Context, *SummaryRequest) (*SummaryResponse, error) GetSome(*SummarySomeRequest, SummaryService_GetSomeServer) error GetAll(*SummaryStreamRequest, SummaryService_GetAllServer) error Subscribe(*SummaryStreamRequest, SummaryService_SubscribeServer) error GetMeta(context.Context, *SummaryStreamRequest) (*MetaResponse, error) SubscribeMeta(*SummaryStreamRequest, SummaryService_SubscribeMetaServer) error GetAllBatched(*SummaryBatchedStreamRequest, SummaryService_GetAllBatchedServer) error SubscribeBatched(*SummaryBatchedStreamRequest, SummaryService_SubscribeBatchedServer) error // contains filtered or unexported methods }
SummaryServiceServer is the server API for SummaryService service. All implementations must embed UnimplementedSummaryServiceServer for forward compatibility
type SummaryService_GetAllBatchedClient ¶
type SummaryService_GetAllBatchedClient interface { Recv() (*SummaryBatchedStreamResponse, error) grpc.ClientStream }
type SummaryService_GetAllBatchedServer ¶
type SummaryService_GetAllBatchedServer interface { Send(*SummaryBatchedStreamResponse) error grpc.ServerStream }
type SummaryService_GetAllClient ¶
type SummaryService_GetAllClient interface { Recv() (*SummaryStreamResponse, error) grpc.ClientStream }
type SummaryService_GetAllServer ¶
type SummaryService_GetAllServer interface { Send(*SummaryStreamResponse) error grpc.ServerStream }
type SummaryService_GetSomeClient ¶
type SummaryService_GetSomeClient interface { Recv() (*SummarySomeResponse, error) grpc.ClientStream }
type SummaryService_GetSomeServer ¶
type SummaryService_GetSomeServer interface { Send(*SummarySomeResponse) error grpc.ServerStream }
type SummaryService_SubscribeBatchedClient ¶
type SummaryService_SubscribeBatchedClient interface { Recv() (*SummaryBatchedStreamResponse, error) grpc.ClientStream }
type SummaryService_SubscribeBatchedServer ¶
type SummaryService_SubscribeBatchedServer interface { Send(*SummaryBatchedStreamResponse) error grpc.ServerStream }
type SummaryService_SubscribeClient ¶
type SummaryService_SubscribeClient interface { Recv() (*SummaryStreamResponse, error) grpc.ClientStream }
type SummaryService_SubscribeMetaClient ¶
type SummaryService_SubscribeMetaClient interface { Recv() (*MetaResponse, error) grpc.ClientStream }
type SummaryService_SubscribeMetaServer ¶
type SummaryService_SubscribeMetaServer interface { Send(*MetaResponse) error grpc.ServerStream }
type SummaryService_SubscribeServer ¶
type SummaryService_SubscribeServer interface { Send(*SummaryStreamResponse) error grpc.ServerStream }
type SummarySomeRequest ¶
type SummarySomeRequest struct { Keys []*SummaryKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,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 (*SummarySomeRequest) Descriptor
deprecated
func (*SummarySomeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SummarySomeRequest.ProtoReflect.Descriptor instead.
func (*SummarySomeRequest) GetKeys ¶
func (x *SummarySomeRequest) GetKeys() []*SummaryKey
func (*SummarySomeRequest) GetTime ¶
func (x *SummarySomeRequest) GetTime() *timestamppb.Timestamp
func (*SummarySomeRequest) ProtoMessage ¶
func (*SummarySomeRequest) ProtoMessage()
func (*SummarySomeRequest) ProtoReflect ¶
func (x *SummarySomeRequest) ProtoReflect() protoreflect.Message
func (*SummarySomeRequest) Reset ¶
func (x *SummarySomeRequest) Reset()
func (*SummarySomeRequest) String ¶
func (x *SummarySomeRequest) String() string
type SummarySomeResponse ¶
type SummarySomeResponse 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 *Summary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Error is an optional field. // It should be filled when there is an error in the GetSome process. Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*SummarySomeResponse) Descriptor
deprecated
func (*SummarySomeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SummarySomeResponse.ProtoReflect.Descriptor instead.
func (*SummarySomeResponse) GetError ¶
func (x *SummarySomeResponse) GetError() *wrapperspb.StringValue
func (*SummarySomeResponse) GetTime ¶
func (x *SummarySomeResponse) GetTime() *timestamppb.Timestamp
func (*SummarySomeResponse) GetValue ¶
func (x *SummarySomeResponse) GetValue() *Summary
func (*SummarySomeResponse) ProtoMessage ¶
func (*SummarySomeResponse) ProtoMessage()
func (*SummarySomeResponse) ProtoReflect ¶
func (x *SummarySomeResponse) ProtoReflect() protoreflect.Message
func (*SummarySomeResponse) Reset ¶
func (x *SummarySomeResponse) Reset()
func (*SummarySomeResponse) String ¶
func (x *SummarySomeResponse) String() string
type SummaryStreamRequest ¶
type SummaryStreamRequest 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 []*Summary `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each Summary at end. // - Each Summary response is fully-specified (all fields set). // - start: Returns the state of each Summary at start, followed by updates until now. // - Each Summary response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each Summary at start, followed by updates // until end. // - Each Summary response at start is fully-specified, but updates until end may // be partial. // // 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 (*SummaryStreamRequest) Descriptor
deprecated
func (*SummaryStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SummaryStreamRequest.ProtoReflect.Descriptor instead.
func (*SummaryStreamRequest) GetPartialEqFilter ¶
func (x *SummaryStreamRequest) GetPartialEqFilter() []*Summary
func (*SummaryStreamRequest) GetTime ¶
func (x *SummaryStreamRequest) GetTime() *time.TimeBounds
func (*SummaryStreamRequest) ProtoMessage ¶
func (*SummaryStreamRequest) ProtoMessage()
func (*SummaryStreamRequest) ProtoReflect ¶
func (x *SummaryStreamRequest) ProtoReflect() protoreflect.Message
func (*SummaryStreamRequest) Reset ¶
func (x *SummaryStreamRequest) Reset()
func (*SummaryStreamRequest) String ¶
func (x *SummaryStreamRequest) String() string
type SummaryStreamResponse ¶
type SummaryStreamResponse 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 *Summary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this Summary's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the Summary 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 (*SummaryStreamResponse) Descriptor
deprecated
func (*SummaryStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SummaryStreamResponse.ProtoReflect.Descriptor instead.
func (*SummaryStreamResponse) GetTime ¶
func (x *SummaryStreamResponse) GetTime() *timestamppb.Timestamp
func (*SummaryStreamResponse) GetType ¶
func (x *SummaryStreamResponse) GetType() subscriptions.Operation
func (*SummaryStreamResponse) GetValue ¶
func (x *SummaryStreamResponse) GetValue() *Summary
func (*SummaryStreamResponse) ProtoMessage ¶
func (*SummaryStreamResponse) ProtoMessage()
func (*SummaryStreamResponse) ProtoReflect ¶
func (x *SummaryStreamResponse) ProtoReflect() protoreflect.Message
func (*SummaryStreamResponse) Reset ¶
func (x *SummaryStreamResponse) Reset()
func (*SummaryStreamResponse) String ¶
func (x *SummaryStreamResponse) String() string
type UnimplementedConfigDiffServiceServer ¶
type UnimplementedConfigDiffServiceServer struct { }
UnimplementedConfigDiffServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedConfigDiffServiceServer) GetAllBatched ¶
func (UnimplementedConfigDiffServiceServer) GetAllBatched(*ConfigDiffBatchedStreamRequest, ConfigDiffService_GetAllBatchedServer) error
func (UnimplementedConfigDiffServiceServer) GetMeta ¶
func (UnimplementedConfigDiffServiceServer) GetMeta(context.Context, *ConfigDiffStreamRequest) (*MetaResponse, error)
func (UnimplementedConfigDiffServiceServer) GetOne ¶
func (UnimplementedConfigDiffServiceServer) GetOne(context.Context, *ConfigDiffRequest) (*ConfigDiffResponse, error)
func (UnimplementedConfigDiffServiceServer) SubscribeBatched ¶
func (UnimplementedConfigDiffServiceServer) SubscribeBatched(*ConfigDiffBatchedStreamRequest, ConfigDiffService_SubscribeBatchedServer) error
func (UnimplementedConfigDiffServiceServer) SubscribeMeta ¶
func (UnimplementedConfigDiffServiceServer) SubscribeMeta(*ConfigDiffStreamRequest, ConfigDiffService_SubscribeMetaServer) error
type UnimplementedConfigurationServiceServer ¶
type UnimplementedConfigurationServiceServer struct { }
UnimplementedConfigurationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedConfigurationServiceServer) GetAllBatched ¶
func (UnimplementedConfigurationServiceServer) GetMeta ¶
func (UnimplementedConfigurationServiceServer) GetMeta(context.Context, *ConfigurationStreamRequest) (*MetaResponse, error)
func (UnimplementedConfigurationServiceServer) GetOne ¶
func (UnimplementedConfigurationServiceServer) GetOne(context.Context, *ConfigurationRequest) (*ConfigurationResponse, error)
func (UnimplementedConfigurationServiceServer) SubscribeBatched ¶
func (UnimplementedConfigurationServiceServer) SubscribeBatched(*ConfigurationBatchedStreamRequest, ConfigurationService_SubscribeBatchedServer) error
func (UnimplementedConfigurationServiceServer) SubscribeMeta ¶
type UnimplementedSecurityProfileDiffServiceServer ¶
type UnimplementedSecurityProfileDiffServiceServer struct { }
UnimplementedSecurityProfileDiffServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSecurityProfileDiffServiceServer) GetAllBatched ¶
func (UnimplementedSecurityProfileDiffServiceServer) GetMeta ¶
func (UnimplementedSecurityProfileDiffServiceServer) GetMeta(context.Context, *SecurityProfileDiffStreamRequest) (*MetaResponse, error)
func (UnimplementedSecurityProfileDiffServiceServer) SubscribeBatched ¶
func (UnimplementedSecurityProfileDiffServiceServer) SubscribeMeta ¶
type UnimplementedSecurityProfileDiffSummaryServiceServer ¶
type UnimplementedSecurityProfileDiffSummaryServiceServer struct { }
UnimplementedSecurityProfileDiffSummaryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSecurityProfileDiffSummaryServiceServer) GetAllBatched ¶
func (UnimplementedSecurityProfileDiffSummaryServiceServer) SubscribeBatched ¶
func (UnimplementedSecurityProfileDiffSummaryServiceServer) SubscribeMeta ¶
type UnimplementedSecurityProfileServiceServer ¶
type UnimplementedSecurityProfileServiceServer struct { }
UnimplementedSecurityProfileServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSecurityProfileServiceServer) GetAllBatched ¶
func (UnimplementedSecurityProfileServiceServer) GetMeta ¶
func (UnimplementedSecurityProfileServiceServer) GetMeta(context.Context, *SecurityProfileStreamRequest) (*MetaResponse, error)
func (UnimplementedSecurityProfileServiceServer) SubscribeBatched ¶
func (UnimplementedSecurityProfileServiceServer) SubscribeMeta ¶
type UnimplementedSummaryServiceServer ¶
type UnimplementedSummaryServiceServer struct { }
UnimplementedSummaryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSummaryServiceServer) GetAllBatched ¶
func (UnimplementedSummaryServiceServer) GetAllBatched(*SummaryBatchedStreamRequest, SummaryService_GetAllBatchedServer) error
func (UnimplementedSummaryServiceServer) GetMeta ¶
func (UnimplementedSummaryServiceServer) GetMeta(context.Context, *SummaryStreamRequest) (*MetaResponse, error)
func (UnimplementedSummaryServiceServer) GetOne ¶
func (UnimplementedSummaryServiceServer) GetOne(context.Context, *SummaryRequest) (*SummaryResponse, error)
func (UnimplementedSummaryServiceServer) GetSome ¶
func (UnimplementedSummaryServiceServer) GetSome(*SummarySomeRequest, SummaryService_GetSomeServer) error
func (UnimplementedSummaryServiceServer) Subscribe ¶
func (UnimplementedSummaryServiceServer) Subscribe(*SummaryStreamRequest, SummaryService_SubscribeServer) error
func (UnimplementedSummaryServiceServer) SubscribeBatched ¶
func (UnimplementedSummaryServiceServer) SubscribeBatched(*SummaryBatchedStreamRequest, SummaryService_SubscribeBatchedServer) error
func (UnimplementedSummaryServiceServer) SubscribeMeta ¶
func (UnimplementedSummaryServiceServer) SubscribeMeta(*SummaryStreamRequest, SummaryService_SubscribeMetaServer) error
type UnsafeConfigDiffServiceServer ¶
type UnsafeConfigDiffServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConfigDiffServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigDiffServiceServer will result in compilation errors.
type UnsafeConfigurationServiceServer ¶
type UnsafeConfigurationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConfigurationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigurationServiceServer will result in compilation errors.
type UnsafeSecurityProfileDiffServiceServer ¶
type UnsafeSecurityProfileDiffServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecurityProfileDiffServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecurityProfileDiffServiceServer will result in compilation errors.
type UnsafeSecurityProfileDiffSummaryServiceServer ¶
type UnsafeSecurityProfileDiffSummaryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecurityProfileDiffSummaryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecurityProfileDiffSummaryServiceServer will result in compilation errors.
type UnsafeSecurityProfileServiceServer ¶
type UnsafeSecurityProfileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecurityProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecurityProfileServiceServer will result in compilation errors.
type UnsafeSummaryServiceServer ¶
type UnsafeSummaryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSummaryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SummaryServiceServer will result in compilation errors.