Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterApricotServer(s grpc.ServiceRegistrar, srv ApricotServer)
- type ApricotClient
- type ApricotServer
- type CRUCardEndpointResponse
- func (*CRUCardEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CRUCardEndpointResponse) GetEndpoints() string
- func (*CRUCardEndpointResponse) ProtoMessage()
- func (x *CRUCardEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *CRUCardEndpointResponse) Reset()
- func (x *CRUCardEndpointResponse) String() string
- type CRUCardsResponse
- type CardRequest
- func (*CardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CardRequest) GetCardSerial() string
- func (x *CardRequest) GetHostname() string
- func (*CardRequest) ProtoMessage()
- func (x *CardRequest) ProtoReflect() protoreflect.Message
- func (x *CardRequest) Reset()
- func (x *CardRequest) String() string
- type ComponentEntriesQuery
- func (*ComponentEntriesQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentEntriesQuery) GetComponent() string
- func (x *ComponentEntriesQuery) GetMachineRole() string
- func (x *ComponentEntriesQuery) GetRunType() RunType
- func (*ComponentEntriesQuery) ProtoMessage()
- func (x *ComponentEntriesQuery) ProtoReflect() protoreflect.Message
- func (x *ComponentEntriesQuery) Reset()
- func (x *ComponentEntriesQuery) String() string
- type ComponentEntriesResponse
- func (*ComponentEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentEntriesResponse) GetPayload() []string
- func (*ComponentEntriesResponse) ProtoMessage()
- func (x *ComponentEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *ComponentEntriesResponse) Reset()
- func (x *ComponentEntriesResponse) String() string
- type ComponentQuery
- func (*ComponentQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentQuery) GetComponent() string
- func (x *ComponentQuery) GetEntry() string
- func (x *ComponentQuery) GetMachineRole() string
- func (x *ComponentQuery) GetRunType() RunType
- func (*ComponentQuery) ProtoMessage()
- func (x *ComponentQuery) ProtoReflect() protoreflect.Message
- func (x *ComponentQuery) Reset()
- func (x *ComponentQuery) String() string
- type ComponentRequest
- func (*ComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentRequest) GetPath() string
- func (x *ComponentRequest) GetProcessTemplate() bool
- func (x *ComponentRequest) GetQuery() *ComponentQuery
- func (m *ComponentRequest) GetQueryPath() isComponentRequest_QueryPath
- func (x *ComponentRequest) GetVarStack() map[string]string
- func (*ComponentRequest) ProtoMessage()
- func (x *ComponentRequest) ProtoReflect() protoreflect.Message
- func (x *ComponentRequest) Reset()
- func (x *ComponentRequest) String() string
- type ComponentRequest_Path
- type ComponentRequest_Query
- type ComponentResponse
- type ComponentResponseWithLastIndex
- func (*ComponentResponseWithLastIndex) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentResponseWithLastIndex) GetLastIndex() uint64
- func (x *ComponentResponseWithLastIndex) GetPayload() string
- func (*ComponentResponseWithLastIndex) ProtoMessage()
- func (x *ComponentResponseWithLastIndex) ProtoReflect() protoreflect.Message
- func (x *ComponentResponseWithLastIndex) Reset()
- func (x *ComponentResponseWithLastIndex) String() string
- type DetectorEntriesResponse
- func (*DetectorEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetectorEntriesResponse) GetDetectorEntries() map[string]*DetectorInventoryResponse
- func (*DetectorEntriesResponse) ProtoMessage()
- func (x *DetectorEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *DetectorEntriesResponse) Reset()
- func (x *DetectorEntriesResponse) String() string
- type DetectorInventoryResponse
- func (*DetectorInventoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetectorInventoryResponse) GetFlps() []string
- func (*DetectorInventoryResponse) ProtoMessage()
- func (x *DetectorInventoryResponse) ProtoReflect() protoreflect.Message
- func (x *DetectorInventoryResponse) Reset()
- func (x *DetectorInventoryResponse) String() string
- type DetectorResponse
- type DetectorsRequest
- type DetectorsResponse
- func (*DetectorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetectorsResponse) GetDetectors() []string
- func (*DetectorsResponse) ProtoMessage()
- func (x *DetectorsResponse) ProtoReflect() protoreflect.Message
- func (x *DetectorsResponse) Reset()
- func (x *DetectorsResponse) String() string
- type Empty
- type GetEntryRequest
- type GetRuntimeEntriesRequest
- func (*GetRuntimeEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuntimeEntriesRequest) GetComponent() string
- func (*GetRuntimeEntriesRequest) ProtoMessage()
- func (x *GetRuntimeEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRuntimeEntriesRequest) Reset()
- func (x *GetRuntimeEntriesRequest) String() string
- type GetRuntimeEntryRequest
- func (*GetRuntimeEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuntimeEntryRequest) GetComponent() string
- func (x *GetRuntimeEntryRequest) GetKey() string
- func (*GetRuntimeEntryRequest) ProtoMessage()
- func (x *GetRuntimeEntryRequest) ProtoReflect() protoreflect.Message
- func (x *GetRuntimeEntryRequest) Reset()
- func (x *GetRuntimeEntryRequest) String() string
- type HostEntriesResponse
- func (*HostEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HostEntriesResponse) GetHosts() []string
- func (*HostEntriesResponse) ProtoMessage()
- func (x *HostEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *HostEntriesResponse) Reset()
- func (x *HostEntriesResponse) String() string
- type HostGetRequest
- type HostRequest
- type HostsRequest
- type ImportComponentConfigurationRequest
- func (*ImportComponentConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportComponentConfigurationRequest) GetNewComponent() bool
- func (x *ImportComponentConfigurationRequest) GetPayload() string
- func (x *ImportComponentConfigurationRequest) GetQuery() *ComponentQuery
- func (*ImportComponentConfigurationRequest) ProtoMessage()
- func (x *ImportComponentConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *ImportComponentConfigurationRequest) Reset()
- func (x *ImportComponentConfigurationRequest) String() string
- type ImportComponentConfigurationResponse
- func (*ImportComponentConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportComponentConfigurationResponse) GetExistingComponentUpdated() bool
- func (x *ImportComponentConfigurationResponse) GetExistingEntryUpdated() bool
- func (*ImportComponentConfigurationResponse) ProtoMessage()
- func (x *ImportComponentConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *ImportComponentConfigurationResponse) Reset()
- func (x *ImportComponentConfigurationResponse) String() string
- type ListComponentEntriesRequest
- func (*ListComponentEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListComponentEntriesRequest) GetPath() string
- func (x *ListComponentEntriesRequest) GetQuery() *ComponentEntriesQuery
- func (m *ListComponentEntriesRequest) GetQueryPath() isListComponentEntriesRequest_QueryPath
- func (*ListComponentEntriesRequest) ProtoMessage()
- func (x *ListComponentEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListComponentEntriesRequest) Reset()
- func (x *ListComponentEntriesRequest) String() string
- type ListComponentEntriesRequest_Path
- type ListComponentEntriesRequest_Query
- type ListRuntimeEntriesRequest
- func (*ListRuntimeEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuntimeEntriesRequest) GetComponent() string
- func (*ListRuntimeEntriesRequest) ProtoMessage()
- func (x *ListRuntimeEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRuntimeEntriesRequest) Reset()
- func (x *ListRuntimeEntriesRequest) String() string
- type RawGetRecursiveRequest
- func (*RawGetRecursiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RawGetRecursiveRequest) GetRawPath() string
- func (*RawGetRecursiveRequest) ProtoMessage()
- func (x *RawGetRecursiveRequest) ProtoReflect() protoreflect.Message
- func (x *RawGetRecursiveRequest) Reset()
- func (x *RawGetRecursiveRequest) String() string
- type RunNumberResponse
- type RunType
- type SetRuntimeEntryRequest
- func (*SetRuntimeEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetRuntimeEntryRequest) GetComponent() string
- func (x *SetRuntimeEntryRequest) GetKey() string
- func (x *SetRuntimeEntryRequest) GetValue() string
- func (*SetRuntimeEntryRequest) ProtoMessage()
- func (x *SetRuntimeEntryRequest) ProtoReflect() protoreflect.Message
- func (x *SetRuntimeEntryRequest) Reset()
- func (x *SetRuntimeEntryRequest) String() string
- type StringMap
- type UnimplementedApricotServer
- func (UnimplementedApricotServer) GetCRUCardsForHost(context.Context, *HostRequest) (*CRUCardsResponse, error)
- func (UnimplementedApricotServer) GetComponentConfiguration(context.Context, *ComponentRequest) (*ComponentResponse, error)
- func (UnimplementedApricotServer) GetComponentConfigurationWithLastIndex(context.Context, *ComponentRequest) (*ComponentResponseWithLastIndex, error)
- func (UnimplementedApricotServer) GetDefaults(context.Context, *Empty) (*StringMap, error)
- func (UnimplementedApricotServer) GetDetectorForHost(context.Context, *HostRequest) (*DetectorResponse, error)
- func (UnimplementedApricotServer) GetDetectorsForHosts(context.Context, *HostsRequest) (*DetectorsResponse, error)
- func (UnimplementedApricotServer) GetDetectorsInventory(context.Context, *Empty) (*DetectorEntriesResponse, error)
- func (UnimplementedApricotServer) GetEndpointsForCRUCard(context.Context, *CardRequest) (*CRUCardEndpointResponse, error)
- func (UnimplementedApricotServer) GetHostInventory(context.Context, *HostGetRequest) (*HostEntriesResponse, error)
- func (UnimplementedApricotServer) GetRuntimeEntries(context.Context, *GetRuntimeEntriesRequest) (*StringMap, error)
- func (UnimplementedApricotServer) GetRuntimeEntry(context.Context, *GetRuntimeEntryRequest) (*ComponentResponse, error)
- func (UnimplementedApricotServer) GetVars(context.Context, *Empty) (*StringMap, error)
- func (UnimplementedApricotServer) ImportComponentConfiguration(context.Context, *ImportComponentConfigurationRequest) (*ImportComponentConfigurationResponse, error)
- func (UnimplementedApricotServer) InvalidateComponentTemplateCache(context.Context, *Empty) (*Empty, error)
- func (UnimplementedApricotServer) ListComponentEntries(context.Context, *ListComponentEntriesRequest) (*ComponentEntriesResponse, error)
- func (UnimplementedApricotServer) ListComponents(context.Context, *Empty) (*ComponentEntriesResponse, error)
- func (UnimplementedApricotServer) ListDetectors(context.Context, *DetectorsRequest) (*DetectorsResponse, error)
- func (UnimplementedApricotServer) ListRuntimeEntries(context.Context, *ListRuntimeEntriesRequest) (*ComponentEntriesResponse, error)
- func (UnimplementedApricotServer) NewRunNumber(context.Context, *Empty) (*RunNumberResponse, error)
- func (UnimplementedApricotServer) RawGetRecursive(context.Context, *RawGetRecursiveRequest) (*ComponentResponse, error)
- func (UnimplementedApricotServer) ResolveComponentQuery(context.Context, *ComponentQuery) (*ComponentQuery, error)
- func (UnimplementedApricotServer) SetRuntimeEntry(context.Context, *SetRuntimeEntryRequest) (*Empty, error)
- type UnsafeApricotServer
Constants ¶
const ( Apricot_NewRunNumber_FullMethodName = "/apricot.Apricot/NewRunNumber" Apricot_GetDefaults_FullMethodName = "/apricot.Apricot/GetDefaults" Apricot_GetVars_FullMethodName = "/apricot.Apricot/GetVars" Apricot_RawGetRecursive_FullMethodName = "/apricot.Apricot/RawGetRecursive" Apricot_ListDetectors_FullMethodName = "/apricot.Apricot/ListDetectors" Apricot_GetHostInventory_FullMethodName = "/apricot.Apricot/GetHostInventory" Apricot_GetDetectorsInventory_FullMethodName = "/apricot.Apricot/GetDetectorsInventory" Apricot_GetDetectorForHost_FullMethodName = "/apricot.Apricot/GetDetectorForHost" Apricot_GetDetectorsForHosts_FullMethodName = "/apricot.Apricot/GetDetectorsForHosts" Apricot_GetCRUCardsForHost_FullMethodName = "/apricot.Apricot/GetCRUCardsForHost" Apricot_GetEndpointsForCRUCard_FullMethodName = "/apricot.Apricot/GetEndpointsForCRUCard" Apricot_GetRuntimeEntry_FullMethodName = "/apricot.Apricot/GetRuntimeEntry" Apricot_SetRuntimeEntry_FullMethodName = "/apricot.Apricot/SetRuntimeEntry" Apricot_GetRuntimeEntries_FullMethodName = "/apricot.Apricot/GetRuntimeEntries" Apricot_ListRuntimeEntries_FullMethodName = "/apricot.Apricot/ListRuntimeEntries" Apricot_ListComponents_FullMethodName = "/apricot.Apricot/ListComponents" Apricot_ListComponentEntries_FullMethodName = "/apricot.Apricot/ListComponentEntries" Apricot_GetComponentConfiguration_FullMethodName = "/apricot.Apricot/GetComponentConfiguration" Apricot_GetComponentConfigurationWithLastIndex_FullMethodName = "/apricot.Apricot/GetComponentConfigurationWithLastIndex" Apricot_ResolveComponentQuery_FullMethodName = "/apricot.Apricot/ResolveComponentQuery" Apricot_ImportComponentConfiguration_FullMethodName = "/apricot.Apricot/ImportComponentConfiguration" Apricot_InvalidateComponentTemplateCache_FullMethodName = "/apricot.Apricot/InvalidateComponentTemplateCache" )
Variables ¶
var ( RunType_name = map[int32]string{ 0: "NULL", 1: "PHYSICS", 2: "TECHNICAL", 3: "PEDESTAL", 4: "PULSER", 5: "LASER", 6: "CALIBRATION_ITHR_TUNING", 7: "CALIBRATION_VCASN_TUNING", 8: "CALIBRATION_THR_SCAN", 9: "CALIBRATION_DIGITAL_SCAN", 10: "CALIBRATION_ANALOG_SCAN", 11: "CALIBRATION_FHR", 12: "CALIBRATION_ALPIDE_SCAN", 13: "CALIBRATION", 14: "COSMICS", 15: "SYNTHETIC", 16: "NOISE", 17: "CALIBRATION_PULSE_LENGTH", 18: "CALIBRATION_VRESETD", 300: "ANY", } RunType_value = map[string]int32{ "NULL": 0, "PHYSICS": 1, "TECHNICAL": 2, "PEDESTAL": 3, "PULSER": 4, "LASER": 5, "CALIBRATION_ITHR_TUNING": 6, "CALIBRATION_VCASN_TUNING": 7, "CALIBRATION_THR_SCAN": 8, "CALIBRATION_DIGITAL_SCAN": 9, "CALIBRATION_ANALOG_SCAN": 10, "CALIBRATION_FHR": 11, "CALIBRATION_ALPIDE_SCAN": 12, "CALIBRATION": 13, "COSMICS": 14, "SYNTHETIC": 15, "NOISE": 16, "CALIBRATION_PULSE_LENGTH": 17, "CALIBRATION_VRESETD": 18, "ANY": 300, } )
Enum value maps for RunType.
var Apricot_ServiceDesc = grpc.ServiceDesc{ ServiceName: "apricot.Apricot", HandlerType: (*ApricotServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "NewRunNumber", Handler: _Apricot_NewRunNumber_Handler, }, { MethodName: "GetDefaults", Handler: _Apricot_GetDefaults_Handler, }, { MethodName: "GetVars", Handler: _Apricot_GetVars_Handler, }, { MethodName: "RawGetRecursive", Handler: _Apricot_RawGetRecursive_Handler, }, { MethodName: "ListDetectors", Handler: _Apricot_ListDetectors_Handler, }, { MethodName: "GetHostInventory", Handler: _Apricot_GetHostInventory_Handler, }, { MethodName: "GetDetectorsInventory", Handler: _Apricot_GetDetectorsInventory_Handler, }, { MethodName: "GetDetectorForHost", Handler: _Apricot_GetDetectorForHost_Handler, }, { MethodName: "GetDetectorsForHosts", Handler: _Apricot_GetDetectorsForHosts_Handler, }, { MethodName: "GetCRUCardsForHost", Handler: _Apricot_GetCRUCardsForHost_Handler, }, { MethodName: "GetEndpointsForCRUCard", Handler: _Apricot_GetEndpointsForCRUCard_Handler, }, { MethodName: "GetRuntimeEntry", Handler: _Apricot_GetRuntimeEntry_Handler, }, { MethodName: "SetRuntimeEntry", Handler: _Apricot_SetRuntimeEntry_Handler, }, { MethodName: "GetRuntimeEntries", Handler: _Apricot_GetRuntimeEntries_Handler, }, { MethodName: "ListRuntimeEntries", Handler: _Apricot_ListRuntimeEntries_Handler, }, { MethodName: "ListComponents", Handler: _Apricot_ListComponents_Handler, }, { MethodName: "ListComponentEntries", Handler: _Apricot_ListComponentEntries_Handler, }, { MethodName: "GetComponentConfiguration", Handler: _Apricot_GetComponentConfiguration_Handler, }, { MethodName: "GetComponentConfigurationWithLastIndex", Handler: _Apricot_GetComponentConfigurationWithLastIndex_Handler, }, { MethodName: "ResolveComponentQuery", Handler: _Apricot_ResolveComponentQuery_Handler, }, { MethodName: "ImportComponentConfiguration", Handler: _Apricot_ImportComponentConfiguration_Handler, }, { MethodName: "InvalidateComponentTemplateCache", Handler: _Apricot_InvalidateComponentTemplateCache_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protos/apricot.proto", }
Apricot_ServiceDesc is the grpc.ServiceDesc for Apricot service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_protos_apricot_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApricotServer ¶
func RegisterApricotServer(s grpc.ServiceRegistrar, srv ApricotServer)
Types ¶
type ApricotClient ¶
type ApricotClient interface { NewRunNumber(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*RunNumberResponse, error) GetDefaults(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMap, error) GetVars(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMap, error) RawGetRecursive(ctx context.Context, in *RawGetRecursiveRequest, opts ...grpc.CallOption) (*ComponentResponse, error) // Detectors and host inventories ListDetectors(ctx context.Context, in *DetectorsRequest, opts ...grpc.CallOption) (*DetectorsResponse, error) GetHostInventory(ctx context.Context, in *HostGetRequest, opts ...grpc.CallOption) (*HostEntriesResponse, error) GetDetectorsInventory(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DetectorEntriesResponse, error) GetDetectorForHost(ctx context.Context, in *HostRequest, opts ...grpc.CallOption) (*DetectorResponse, error) GetDetectorsForHosts(ctx context.Context, in *HostsRequest, opts ...grpc.CallOption) (*DetectorsResponse, error) GetCRUCardsForHost(ctx context.Context, in *HostRequest, opts ...grpc.CallOption) (*CRUCardsResponse, error) GetEndpointsForCRUCard(ctx context.Context, in *CardRequest, opts ...grpc.CallOption) (*CRUCardEndpointResponse, error) // Runtime KV calls GetRuntimeEntry(ctx context.Context, in *GetRuntimeEntryRequest, opts ...grpc.CallOption) (*ComponentResponse, error) SetRuntimeEntry(ctx context.Context, in *SetRuntimeEntryRequest, opts ...grpc.CallOption) (*Empty, error) GetRuntimeEntries(ctx context.Context, in *GetRuntimeEntriesRequest, opts ...grpc.CallOption) (*StringMap, error) ListRuntimeEntries(ctx context.Context, in *ListRuntimeEntriesRequest, opts ...grpc.CallOption) (*ComponentEntriesResponse, error) // Component configuration calls ListComponents(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ComponentEntriesResponse, error) ListComponentEntries(ctx context.Context, in *ListComponentEntriesRequest, opts ...grpc.CallOption) (*ComponentEntriesResponse, error) GetComponentConfiguration(ctx context.Context, in *ComponentRequest, opts ...grpc.CallOption) (*ComponentResponse, error) GetComponentConfigurationWithLastIndex(ctx context.Context, in *ComponentRequest, opts ...grpc.CallOption) (*ComponentResponseWithLastIndex, error) ResolveComponentQuery(ctx context.Context, in *ComponentQuery, opts ...grpc.CallOption) (*ComponentQuery, error) ImportComponentConfiguration(ctx context.Context, in *ImportComponentConfigurationRequest, opts ...grpc.CallOption) (*ImportComponentConfigurationResponse, error) InvalidateComponentTemplateCache(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
ApricotClient is the client API for Apricot 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 NewApricotClient ¶
func NewApricotClient(cc grpc.ClientConnInterface) ApricotClient
type ApricotServer ¶
type ApricotServer interface { NewRunNumber(context.Context, *Empty) (*RunNumberResponse, error) GetDefaults(context.Context, *Empty) (*StringMap, error) GetVars(context.Context, *Empty) (*StringMap, error) RawGetRecursive(context.Context, *RawGetRecursiveRequest) (*ComponentResponse, error) // Detectors and host inventories ListDetectors(context.Context, *DetectorsRequest) (*DetectorsResponse, error) GetHostInventory(context.Context, *HostGetRequest) (*HostEntriesResponse, error) GetDetectorsInventory(context.Context, *Empty) (*DetectorEntriesResponse, error) GetDetectorForHost(context.Context, *HostRequest) (*DetectorResponse, error) GetDetectorsForHosts(context.Context, *HostsRequest) (*DetectorsResponse, error) GetCRUCardsForHost(context.Context, *HostRequest) (*CRUCardsResponse, error) GetEndpointsForCRUCard(context.Context, *CardRequest) (*CRUCardEndpointResponse, error) // Runtime KV calls GetRuntimeEntry(context.Context, *GetRuntimeEntryRequest) (*ComponentResponse, error) SetRuntimeEntry(context.Context, *SetRuntimeEntryRequest) (*Empty, error) GetRuntimeEntries(context.Context, *GetRuntimeEntriesRequest) (*StringMap, error) ListRuntimeEntries(context.Context, *ListRuntimeEntriesRequest) (*ComponentEntriesResponse, error) // Component configuration calls ListComponents(context.Context, *Empty) (*ComponentEntriesResponse, error) ListComponentEntries(context.Context, *ListComponentEntriesRequest) (*ComponentEntriesResponse, error) GetComponentConfiguration(context.Context, *ComponentRequest) (*ComponentResponse, error) GetComponentConfigurationWithLastIndex(context.Context, *ComponentRequest) (*ComponentResponseWithLastIndex, error) ResolveComponentQuery(context.Context, *ComponentQuery) (*ComponentQuery, error) ImportComponentConfiguration(context.Context, *ImportComponentConfigurationRequest) (*ImportComponentConfigurationResponse, error) InvalidateComponentTemplateCache(context.Context, *Empty) (*Empty, error) }
ApricotServer is the server API for Apricot service. All implementations should embed UnimplementedApricotServer for forward compatibility
type CRUCardEndpointResponse ¶ added in v0.22.0
type CRUCardEndpointResponse struct { Endpoints string `protobuf:"bytes,1,opt,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
func (*CRUCardEndpointResponse) Descriptor
deprecated
added in
v0.22.0
func (*CRUCardEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CRUCardEndpointResponse.ProtoReflect.Descriptor instead.
func (*CRUCardEndpointResponse) GetEndpoints ¶ added in v0.22.0
func (x *CRUCardEndpointResponse) GetEndpoints() string
func (*CRUCardEndpointResponse) ProtoMessage ¶ added in v0.22.0
func (*CRUCardEndpointResponse) ProtoMessage()
func (*CRUCardEndpointResponse) ProtoReflect ¶ added in v0.22.0
func (x *CRUCardEndpointResponse) ProtoReflect() protoreflect.Message
func (*CRUCardEndpointResponse) Reset ¶ added in v0.22.0
func (x *CRUCardEndpointResponse) Reset()
func (*CRUCardEndpointResponse) String ¶ added in v0.22.0
func (x *CRUCardEndpointResponse) String() string
type CRUCardsResponse ¶ added in v0.22.0
type CRUCardsResponse struct { Cards string `protobuf:"bytes,1,opt,name=cards,proto3" json:"cards,omitempty"` // contains filtered or unexported fields }
func (*CRUCardsResponse) Descriptor
deprecated
added in
v0.22.0
func (*CRUCardsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CRUCardsResponse.ProtoReflect.Descriptor instead.
func (*CRUCardsResponse) GetCards ¶ added in v0.22.0
func (x *CRUCardsResponse) GetCards() string
func (*CRUCardsResponse) ProtoMessage ¶ added in v0.22.0
func (*CRUCardsResponse) ProtoMessage()
func (*CRUCardsResponse) ProtoReflect ¶ added in v0.22.0
func (x *CRUCardsResponse) ProtoReflect() protoreflect.Message
func (*CRUCardsResponse) Reset ¶ added in v0.22.0
func (x *CRUCardsResponse) Reset()
func (*CRUCardsResponse) String ¶ added in v0.22.0
func (x *CRUCardsResponse) String() string
type CardRequest ¶ added in v0.22.0
type CardRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` CardSerial string `protobuf:"bytes,2,opt,name=cardSerial,proto3" json:"cardSerial,omitempty"` // contains filtered or unexported fields }
func (*CardRequest) Descriptor
deprecated
added in
v0.22.0
func (*CardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CardRequest.ProtoReflect.Descriptor instead.
func (*CardRequest) GetCardSerial ¶ added in v0.22.0
func (x *CardRequest) GetCardSerial() string
func (*CardRequest) GetHostname ¶ added in v0.22.0
func (x *CardRequest) GetHostname() string
func (*CardRequest) ProtoMessage ¶ added in v0.22.0
func (*CardRequest) ProtoMessage()
func (*CardRequest) ProtoReflect ¶ added in v0.22.0
func (x *CardRequest) ProtoReflect() protoreflect.Message
func (*CardRequest) Reset ¶ added in v0.22.0
func (x *CardRequest) Reset()
func (*CardRequest) String ¶ added in v0.22.0
func (x *CardRequest) String() string
type ComponentEntriesQuery ¶
type ComponentEntriesQuery struct { Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` RunType RunType `protobuf:"varint,2,opt,name=runType,proto3,enum=apricot.RunType" json:"runType,omitempty"` MachineRole string `protobuf:"bytes,3,opt,name=machineRole,proto3" json:"machineRole,omitempty"` // contains filtered or unexported fields }
func (*ComponentEntriesQuery) Descriptor
deprecated
func (*ComponentEntriesQuery) Descriptor() ([]byte, []int)
Deprecated: Use ComponentEntriesQuery.ProtoReflect.Descriptor instead.
func (*ComponentEntriesQuery) GetComponent ¶
func (x *ComponentEntriesQuery) GetComponent() string
func (*ComponentEntriesQuery) GetMachineRole ¶
func (x *ComponentEntriesQuery) GetMachineRole() string
func (*ComponentEntriesQuery) GetRunType ¶
func (x *ComponentEntriesQuery) GetRunType() RunType
func (*ComponentEntriesQuery) ProtoMessage ¶
func (*ComponentEntriesQuery) ProtoMessage()
func (*ComponentEntriesQuery) ProtoReflect ¶
func (x *ComponentEntriesQuery) ProtoReflect() protoreflect.Message
func (*ComponentEntriesQuery) Reset ¶
func (x *ComponentEntriesQuery) Reset()
func (*ComponentEntriesQuery) String ¶
func (x *ComponentEntriesQuery) String() string
type ComponentEntriesResponse ¶
type ComponentEntriesResponse struct { Payload []string `protobuf:"bytes,1,rep,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*ComponentEntriesResponse) Descriptor
deprecated
func (*ComponentEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ComponentEntriesResponse.ProtoReflect.Descriptor instead.
func (*ComponentEntriesResponse) GetPayload ¶
func (x *ComponentEntriesResponse) GetPayload() []string
func (*ComponentEntriesResponse) ProtoMessage ¶
func (*ComponentEntriesResponse) ProtoMessage()
func (*ComponentEntriesResponse) ProtoReflect ¶
func (x *ComponentEntriesResponse) ProtoReflect() protoreflect.Message
func (*ComponentEntriesResponse) Reset ¶
func (x *ComponentEntriesResponse) Reset()
func (*ComponentEntriesResponse) String ¶
func (x *ComponentEntriesResponse) String() string
type ComponentQuery ¶
type ComponentQuery struct { Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` RunType RunType `protobuf:"varint,2,opt,name=runType,proto3,enum=apricot.RunType" json:"runType,omitempty"` MachineRole string `protobuf:"bytes,3,opt,name=machineRole,proto3" json:"machineRole,omitempty"` Entry string `protobuf:"bytes,4,opt,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
func (*ComponentQuery) Descriptor
deprecated
func (*ComponentQuery) Descriptor() ([]byte, []int)
Deprecated: Use ComponentQuery.ProtoReflect.Descriptor instead.
func (*ComponentQuery) GetComponent ¶
func (x *ComponentQuery) GetComponent() string
func (*ComponentQuery) GetEntry ¶
func (x *ComponentQuery) GetEntry() string
func (*ComponentQuery) GetMachineRole ¶
func (x *ComponentQuery) GetMachineRole() string
func (*ComponentQuery) GetRunType ¶
func (x *ComponentQuery) GetRunType() RunType
func (*ComponentQuery) ProtoMessage ¶
func (*ComponentQuery) ProtoMessage()
func (*ComponentQuery) ProtoReflect ¶
func (x *ComponentQuery) ProtoReflect() protoreflect.Message
func (*ComponentQuery) Reset ¶
func (x *ComponentQuery) Reset()
func (*ComponentQuery) String ¶
func (x *ComponentQuery) String() string
type ComponentRequest ¶
type ComponentRequest struct { // Types that are assignable to QueryPath: // // *ComponentRequest_Path // *ComponentRequest_Query QueryPath isComponentRequest_QueryPath `protobuf_oneof:"queryPath"` ProcessTemplate bool `protobuf:"varint,3,opt,name=processTemplate,proto3" json:"processTemplate,omitempty"` VarStack map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ComponentRequest) Descriptor
deprecated
func (*ComponentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ComponentRequest.ProtoReflect.Descriptor instead.
func (*ComponentRequest) GetPath ¶
func (x *ComponentRequest) GetPath() string
func (*ComponentRequest) GetProcessTemplate ¶
func (x *ComponentRequest) GetProcessTemplate() bool
func (*ComponentRequest) GetQuery ¶
func (x *ComponentRequest) GetQuery() *ComponentQuery
func (*ComponentRequest) GetQueryPath ¶
func (m *ComponentRequest) GetQueryPath() isComponentRequest_QueryPath
func (*ComponentRequest) GetVarStack ¶
func (x *ComponentRequest) GetVarStack() map[string]string
func (*ComponentRequest) ProtoMessage ¶
func (*ComponentRequest) ProtoMessage()
func (*ComponentRequest) ProtoReflect ¶
func (x *ComponentRequest) ProtoReflect() protoreflect.Message
func (*ComponentRequest) Reset ¶
func (x *ComponentRequest) Reset()
func (*ComponentRequest) String ¶
func (x *ComponentRequest) String() string
type ComponentRequest_Path ¶
type ComponentRequest_Path struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}
type ComponentRequest_Query ¶
type ComponentRequest_Query struct {
Query *ComponentQuery `protobuf:"bytes,2,opt,name=query,proto3,oneof"`
}
type ComponentResponse ¶
type ComponentResponse struct { Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*ComponentResponse) Descriptor
deprecated
func (*ComponentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ComponentResponse.ProtoReflect.Descriptor instead.
func (*ComponentResponse) GetPayload ¶
func (x *ComponentResponse) GetPayload() string
func (*ComponentResponse) ProtoMessage ¶
func (*ComponentResponse) ProtoMessage()
func (*ComponentResponse) ProtoReflect ¶
func (x *ComponentResponse) ProtoReflect() protoreflect.Message
func (*ComponentResponse) Reset ¶
func (x *ComponentResponse) Reset()
func (*ComponentResponse) String ¶
func (x *ComponentResponse) String() string
type ComponentResponseWithLastIndex ¶ added in v0.29.2
type ComponentResponseWithLastIndex struct { Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` LastIndex uint64 `protobuf:"varint,2,opt,name=lastIndex,proto3" json:"lastIndex,omitempty"` // contains filtered or unexported fields }
func (*ComponentResponseWithLastIndex) Descriptor
deprecated
added in
v0.29.2
func (*ComponentResponseWithLastIndex) Descriptor() ([]byte, []int)
Deprecated: Use ComponentResponseWithLastIndex.ProtoReflect.Descriptor instead.
func (*ComponentResponseWithLastIndex) GetLastIndex ¶ added in v0.29.2
func (x *ComponentResponseWithLastIndex) GetLastIndex() uint64
func (*ComponentResponseWithLastIndex) GetPayload ¶ added in v0.29.2
func (x *ComponentResponseWithLastIndex) GetPayload() string
func (*ComponentResponseWithLastIndex) ProtoMessage ¶ added in v0.29.2
func (*ComponentResponseWithLastIndex) ProtoMessage()
func (*ComponentResponseWithLastIndex) ProtoReflect ¶ added in v0.29.2
func (x *ComponentResponseWithLastIndex) ProtoReflect() protoreflect.Message
func (*ComponentResponseWithLastIndex) Reset ¶ added in v0.29.2
func (x *ComponentResponseWithLastIndex) Reset()
func (*ComponentResponseWithLastIndex) String ¶ added in v0.29.2
func (x *ComponentResponseWithLastIndex) String() string
type DetectorEntriesResponse ¶ added in v0.43.90
type DetectorEntriesResponse struct { DetectorEntries map[string]*DetectorInventoryResponse `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DetectorEntriesResponse) Descriptor
deprecated
added in
v0.43.90
func (*DetectorEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetectorEntriesResponse.ProtoReflect.Descriptor instead.
func (*DetectorEntriesResponse) GetDetectorEntries ¶ added in v0.43.90
func (x *DetectorEntriesResponse) GetDetectorEntries() map[string]*DetectorInventoryResponse
func (*DetectorEntriesResponse) ProtoMessage ¶ added in v0.43.90
func (*DetectorEntriesResponse) ProtoMessage()
func (*DetectorEntriesResponse) ProtoReflect ¶ added in v0.43.90
func (x *DetectorEntriesResponse) ProtoReflect() protoreflect.Message
func (*DetectorEntriesResponse) Reset ¶ added in v0.43.90
func (x *DetectorEntriesResponse) Reset()
func (*DetectorEntriesResponse) String ¶ added in v0.43.90
func (x *DetectorEntriesResponse) String() string
type DetectorInventoryResponse ¶ added in v0.43.90
type DetectorInventoryResponse struct { Flps []string `protobuf:"bytes,1,rep,name=flps,proto3" json:"flps,omitempty"` // contains filtered or unexported fields }
func (*DetectorInventoryResponse) Descriptor
deprecated
added in
v0.43.90
func (*DetectorInventoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetectorInventoryResponse.ProtoReflect.Descriptor instead.
func (*DetectorInventoryResponse) GetFlps ¶ added in v0.43.90
func (x *DetectorInventoryResponse) GetFlps() []string
func (*DetectorInventoryResponse) ProtoMessage ¶ added in v0.43.90
func (*DetectorInventoryResponse) ProtoMessage()
func (*DetectorInventoryResponse) ProtoReflect ¶ added in v0.43.90
func (x *DetectorInventoryResponse) ProtoReflect() protoreflect.Message
func (*DetectorInventoryResponse) Reset ¶ added in v0.43.90
func (x *DetectorInventoryResponse) Reset()
func (*DetectorInventoryResponse) String ¶ added in v0.43.90
func (x *DetectorInventoryResponse) String() string
type DetectorResponse ¶ added in v0.22.0
type DetectorResponse struct { Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*DetectorResponse) Descriptor
deprecated
added in
v0.22.0
func (*DetectorResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetectorResponse.ProtoReflect.Descriptor instead.
func (*DetectorResponse) GetPayload ¶ added in v0.22.0
func (x *DetectorResponse) GetPayload() string
func (*DetectorResponse) ProtoMessage ¶ added in v0.22.0
func (*DetectorResponse) ProtoMessage()
func (*DetectorResponse) ProtoReflect ¶ added in v0.22.0
func (x *DetectorResponse) ProtoReflect() protoreflect.Message
func (*DetectorResponse) Reset ¶ added in v0.22.0
func (x *DetectorResponse) Reset()
func (*DetectorResponse) String ¶ added in v0.22.0
func (x *DetectorResponse) String() string
type DetectorsRequest ¶ added in v0.36.0
type DetectorsRequest struct { GetAll bool `protobuf:"varint,1,opt,name=getAll,proto3" json:"getAll,omitempty"` // if false(default) restricts "private" detectors (e.g. TRG) // contains filtered or unexported fields }
func (*DetectorsRequest) Descriptor
deprecated
added in
v0.36.0
func (*DetectorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetectorsRequest.ProtoReflect.Descriptor instead.
func (*DetectorsRequest) GetGetAll ¶ added in v0.36.0
func (x *DetectorsRequest) GetGetAll() bool
func (*DetectorsRequest) ProtoMessage ¶ added in v0.36.0
func (*DetectorsRequest) ProtoMessage()
func (*DetectorsRequest) ProtoReflect ¶ added in v0.36.0
func (x *DetectorsRequest) ProtoReflect() protoreflect.Message
func (*DetectorsRequest) Reset ¶ added in v0.36.0
func (x *DetectorsRequest) Reset()
func (*DetectorsRequest) String ¶ added in v0.36.0
func (x *DetectorsRequest) String() string
type DetectorsResponse ¶ added in v0.26.3
type DetectorsResponse struct { Detectors []string `protobuf:"bytes,1,rep,name=detectors,proto3" json:"detectors,omitempty"` // contains filtered or unexported fields }
func (*DetectorsResponse) Descriptor
deprecated
added in
v0.26.3
func (*DetectorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetectorsResponse.ProtoReflect.Descriptor instead.
func (*DetectorsResponse) GetDetectors ¶ added in v0.26.3
func (x *DetectorsResponse) GetDetectors() []string
func (*DetectorsResponse) ProtoMessage ¶ added in v0.26.3
func (*DetectorsResponse) ProtoMessage()
func (*DetectorsResponse) ProtoReflect ¶ added in v0.26.3
func (x *DetectorsResponse) ProtoReflect() protoreflect.Message
func (*DetectorsResponse) Reset ¶ added in v0.26.3
func (x *DetectorsResponse) Reset()
func (*DetectorsResponse) String ¶ added in v0.26.3
func (x *DetectorsResponse) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type GetEntryRequest ¶ added in v0.29.2
type GetEntryRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GetEntryRequest) Descriptor
deprecated
added in
v0.29.2
func (*GetEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.
func (*GetEntryRequest) GetKey ¶ added in v0.29.2
func (x *GetEntryRequest) GetKey() string
func (*GetEntryRequest) ProtoMessage ¶ added in v0.29.2
func (*GetEntryRequest) ProtoMessage()
func (*GetEntryRequest) ProtoReflect ¶ added in v0.29.2
func (x *GetEntryRequest) ProtoReflect() protoreflect.Message
func (*GetEntryRequest) Reset ¶ added in v0.29.2
func (x *GetEntryRequest) Reset()
func (*GetEntryRequest) String ¶ added in v0.29.2
func (x *GetEntryRequest) String() string
type GetRuntimeEntriesRequest ¶ added in v1.4.0
type GetRuntimeEntriesRequest struct { Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` // contains filtered or unexported fields }
func (*GetRuntimeEntriesRequest) Descriptor
deprecated
added in
v1.4.0
func (*GetRuntimeEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuntimeEntriesRequest.ProtoReflect.Descriptor instead.
func (*GetRuntimeEntriesRequest) GetComponent ¶ added in v1.4.0
func (x *GetRuntimeEntriesRequest) GetComponent() string
func (*GetRuntimeEntriesRequest) ProtoMessage ¶ added in v1.4.0
func (*GetRuntimeEntriesRequest) ProtoMessage()
func (*GetRuntimeEntriesRequest) ProtoReflect ¶ added in v1.4.0
func (x *GetRuntimeEntriesRequest) ProtoReflect() protoreflect.Message
func (*GetRuntimeEntriesRequest) Reset ¶ added in v1.4.0
func (x *GetRuntimeEntriesRequest) Reset()
func (*GetRuntimeEntriesRequest) String ¶ added in v1.4.0
func (x *GetRuntimeEntriesRequest) String() string
type GetRuntimeEntryRequest ¶
type GetRuntimeEntryRequest struct { Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GetRuntimeEntryRequest) Descriptor
deprecated
func (*GetRuntimeEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuntimeEntryRequest.ProtoReflect.Descriptor instead.
func (*GetRuntimeEntryRequest) GetComponent ¶
func (x *GetRuntimeEntryRequest) GetComponent() string
func (*GetRuntimeEntryRequest) GetKey ¶
func (x *GetRuntimeEntryRequest) GetKey() string
func (*GetRuntimeEntryRequest) ProtoMessage ¶
func (*GetRuntimeEntryRequest) ProtoMessage()
func (*GetRuntimeEntryRequest) ProtoReflect ¶
func (x *GetRuntimeEntryRequest) ProtoReflect() protoreflect.Message
func (*GetRuntimeEntryRequest) Reset ¶
func (x *GetRuntimeEntryRequest) Reset()
func (*GetRuntimeEntryRequest) String ¶
func (x *GetRuntimeEntryRequest) String() string
type HostEntriesResponse ¶ added in v0.22.80
type HostEntriesResponse struct { Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` // contains filtered or unexported fields }
func (*HostEntriesResponse) Descriptor
deprecated
added in
v0.22.80
func (*HostEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use HostEntriesResponse.ProtoReflect.Descriptor instead.
func (*HostEntriesResponse) GetHosts ¶ added in v0.22.80
func (x *HostEntriesResponse) GetHosts() []string
func (*HostEntriesResponse) ProtoMessage ¶ added in v0.22.80
func (*HostEntriesResponse) ProtoMessage()
func (*HostEntriesResponse) ProtoReflect ¶ added in v0.22.80
func (x *HostEntriesResponse) ProtoReflect() protoreflect.Message
func (*HostEntriesResponse) Reset ¶ added in v0.22.80
func (x *HostEntriesResponse) Reset()
func (*HostEntriesResponse) String ¶ added in v0.22.80
func (x *HostEntriesResponse) String() string
type HostGetRequest ¶ added in v0.22.80
type HostGetRequest struct { Detector string `protobuf:"bytes,1,opt,name=detector,proto3" json:"detector,omitempty"` // contains filtered or unexported fields }
func (*HostGetRequest) Descriptor
deprecated
added in
v0.22.80
func (*HostGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use HostGetRequest.ProtoReflect.Descriptor instead.
func (*HostGetRequest) GetDetector ¶ added in v0.22.80
func (x *HostGetRequest) GetDetector() string
func (*HostGetRequest) ProtoMessage ¶ added in v0.22.80
func (*HostGetRequest) ProtoMessage()
func (*HostGetRequest) ProtoReflect ¶ added in v0.22.80
func (x *HostGetRequest) ProtoReflect() protoreflect.Message
func (*HostGetRequest) Reset ¶ added in v0.22.80
func (x *HostGetRequest) Reset()
func (*HostGetRequest) String ¶ added in v0.22.80
func (x *HostGetRequest) String() string
type HostRequest ¶ added in v0.22.0
type HostRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*HostRequest) Descriptor
deprecated
added in
v0.22.0
func (*HostRequest) Descriptor() ([]byte, []int)
Deprecated: Use HostRequest.ProtoReflect.Descriptor instead.
func (*HostRequest) GetHostname ¶ added in v0.22.0
func (x *HostRequest) GetHostname() string
func (*HostRequest) ProtoMessage ¶ added in v0.22.0
func (*HostRequest) ProtoMessage()
func (*HostRequest) ProtoReflect ¶ added in v0.22.0
func (x *HostRequest) ProtoReflect() protoreflect.Message
func (*HostRequest) Reset ¶ added in v0.22.0
func (x *HostRequest) Reset()
func (*HostRequest) String ¶ added in v0.22.0
func (x *HostRequest) String() string
type HostsRequest ¶ added in v0.26.3
type HostsRequest struct { Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` // contains filtered or unexported fields }
func (*HostsRequest) Descriptor
deprecated
added in
v0.26.3
func (*HostsRequest) Descriptor() ([]byte, []int)
Deprecated: Use HostsRequest.ProtoReflect.Descriptor instead.
func (*HostsRequest) GetHosts ¶ added in v0.26.3
func (x *HostsRequest) GetHosts() []string
func (*HostsRequest) ProtoMessage ¶ added in v0.26.3
func (*HostsRequest) ProtoMessage()
func (*HostsRequest) ProtoReflect ¶ added in v0.26.3
func (x *HostsRequest) ProtoReflect() protoreflect.Message
func (*HostsRequest) Reset ¶ added in v0.26.3
func (x *HostsRequest) Reset()
func (*HostsRequest) String ¶ added in v0.26.3
func (x *HostsRequest) String() string
type ImportComponentConfigurationRequest ¶
type ImportComponentConfigurationRequest struct { Query *ComponentQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` NewComponent bool `protobuf:"varint,3,opt,name=newComponent,proto3" json:"newComponent,omitempty"` // contains filtered or unexported fields }
func (*ImportComponentConfigurationRequest) Descriptor
deprecated
func (*ImportComponentConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportComponentConfigurationRequest.ProtoReflect.Descriptor instead.
func (*ImportComponentConfigurationRequest) GetNewComponent ¶
func (x *ImportComponentConfigurationRequest) GetNewComponent() bool
func (*ImportComponentConfigurationRequest) GetPayload ¶
func (x *ImportComponentConfigurationRequest) GetPayload() string
func (*ImportComponentConfigurationRequest) GetQuery ¶
func (x *ImportComponentConfigurationRequest) GetQuery() *ComponentQuery
func (*ImportComponentConfigurationRequest) ProtoMessage ¶
func (*ImportComponentConfigurationRequest) ProtoMessage()
func (*ImportComponentConfigurationRequest) ProtoReflect ¶
func (x *ImportComponentConfigurationRequest) ProtoReflect() protoreflect.Message
func (*ImportComponentConfigurationRequest) Reset ¶
func (x *ImportComponentConfigurationRequest) Reset()
func (*ImportComponentConfigurationRequest) String ¶
func (x *ImportComponentConfigurationRequest) String() string
type ImportComponentConfigurationResponse ¶
type ImportComponentConfigurationResponse struct { ExistingComponentUpdated bool `protobuf:"varint,1,opt,name=existingComponentUpdated,proto3" json:"existingComponentUpdated,omitempty"` ExistingEntryUpdated bool `protobuf:"varint,2,opt,name=existingEntryUpdated,proto3" json:"existingEntryUpdated,omitempty"` // contains filtered or unexported fields }
func (*ImportComponentConfigurationResponse) Descriptor
deprecated
func (*ImportComponentConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportComponentConfigurationResponse.ProtoReflect.Descriptor instead.
func (*ImportComponentConfigurationResponse) GetExistingComponentUpdated ¶
func (x *ImportComponentConfigurationResponse) GetExistingComponentUpdated() bool
func (*ImportComponentConfigurationResponse) GetExistingEntryUpdated ¶
func (x *ImportComponentConfigurationResponse) GetExistingEntryUpdated() bool
func (*ImportComponentConfigurationResponse) ProtoMessage ¶
func (*ImportComponentConfigurationResponse) ProtoMessage()
func (*ImportComponentConfigurationResponse) ProtoReflect ¶
func (x *ImportComponentConfigurationResponse) ProtoReflect() protoreflect.Message
func (*ImportComponentConfigurationResponse) Reset ¶
func (x *ImportComponentConfigurationResponse) Reset()
func (*ImportComponentConfigurationResponse) String ¶
func (x *ImportComponentConfigurationResponse) String() string
type ListComponentEntriesRequest ¶
type ListComponentEntriesRequest struct { // Types that are assignable to QueryPath: // // *ListComponentEntriesRequest_Path // *ListComponentEntriesRequest_Query QueryPath isListComponentEntriesRequest_QueryPath `protobuf_oneof:"queryPath"` // contains filtered or unexported fields }
func (*ListComponentEntriesRequest) Descriptor
deprecated
func (*ListComponentEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentEntriesRequest.ProtoReflect.Descriptor instead.
func (*ListComponentEntriesRequest) GetPath ¶
func (x *ListComponentEntriesRequest) GetPath() string
func (*ListComponentEntriesRequest) GetQuery ¶
func (x *ListComponentEntriesRequest) GetQuery() *ComponentEntriesQuery
func (*ListComponentEntriesRequest) GetQueryPath ¶
func (m *ListComponentEntriesRequest) GetQueryPath() isListComponentEntriesRequest_QueryPath
func (*ListComponentEntriesRequest) ProtoMessage ¶
func (*ListComponentEntriesRequest) ProtoMessage()
func (*ListComponentEntriesRequest) ProtoReflect ¶
func (x *ListComponentEntriesRequest) ProtoReflect() protoreflect.Message
func (*ListComponentEntriesRequest) Reset ¶
func (x *ListComponentEntriesRequest) Reset()
func (*ListComponentEntriesRequest) String ¶
func (x *ListComponentEntriesRequest) String() string
type ListComponentEntriesRequest_Path ¶
type ListComponentEntriesRequest_Path struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}
type ListComponentEntriesRequest_Query ¶
type ListComponentEntriesRequest_Query struct {
Query *ComponentEntriesQuery `protobuf:"bytes,2,opt,name=query,proto3,oneof"`
}
type ListRuntimeEntriesRequest ¶ added in v0.25.80
type ListRuntimeEntriesRequest struct { Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` // contains filtered or unexported fields }
func (*ListRuntimeEntriesRequest) Descriptor
deprecated
added in
v0.25.80
func (*ListRuntimeEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRuntimeEntriesRequest.ProtoReflect.Descriptor instead.
func (*ListRuntimeEntriesRequest) GetComponent ¶ added in v0.25.80
func (x *ListRuntimeEntriesRequest) GetComponent() string
func (*ListRuntimeEntriesRequest) ProtoMessage ¶ added in v0.25.80
func (*ListRuntimeEntriesRequest) ProtoMessage()
func (*ListRuntimeEntriesRequest) ProtoReflect ¶ added in v0.25.80
func (x *ListRuntimeEntriesRequest) ProtoReflect() protoreflect.Message
func (*ListRuntimeEntriesRequest) Reset ¶ added in v0.25.80
func (x *ListRuntimeEntriesRequest) Reset()
func (*ListRuntimeEntriesRequest) String ¶ added in v0.25.80
func (x *ListRuntimeEntriesRequest) String() string
type RawGetRecursiveRequest ¶
type RawGetRecursiveRequest struct { RawPath string `protobuf:"bytes,1,opt,name=rawPath,proto3" json:"rawPath,omitempty"` // contains filtered or unexported fields }
func (*RawGetRecursiveRequest) Descriptor
deprecated
func (*RawGetRecursiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RawGetRecursiveRequest.ProtoReflect.Descriptor instead.
func (*RawGetRecursiveRequest) GetRawPath ¶
func (x *RawGetRecursiveRequest) GetRawPath() string
func (*RawGetRecursiveRequest) ProtoMessage ¶
func (*RawGetRecursiveRequest) ProtoMessage()
func (*RawGetRecursiveRequest) ProtoReflect ¶
func (x *RawGetRecursiveRequest) ProtoReflect() protoreflect.Message
func (*RawGetRecursiveRequest) Reset ¶
func (x *RawGetRecursiveRequest) Reset()
func (*RawGetRecursiveRequest) String ¶
func (x *RawGetRecursiveRequest) String() string
type RunNumberResponse ¶
type RunNumberResponse struct { RunNumber uint32 `protobuf:"varint,1,opt,name=runNumber,proto3" json:"runNumber,omitempty"` // contains filtered or unexported fields }
func (*RunNumberResponse) Descriptor
deprecated
func (*RunNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunNumberResponse.ProtoReflect.Descriptor instead.
func (*RunNumberResponse) GetRunNumber ¶
func (x *RunNumberResponse) GetRunNumber() uint32
func (*RunNumberResponse) ProtoMessage ¶
func (*RunNumberResponse) ProtoMessage()
func (*RunNumberResponse) ProtoReflect ¶
func (x *RunNumberResponse) ProtoReflect() protoreflect.Message
func (*RunNumberResponse) Reset ¶
func (x *RunNumberResponse) Reset()
func (*RunNumberResponse) String ¶
func (x *RunNumberResponse) String() string
type RunType ¶
type RunType int32
const ( RunType_NULL RunType = 0 RunType_PHYSICS RunType = 1 RunType_TECHNICAL RunType = 2 RunType_PEDESTAL RunType = 3 RunType_PULSER RunType = 4 RunType_LASER RunType = 5 RunType_CALIBRATION_ITHR_TUNING RunType = 6 RunType_CALIBRATION_VCASN_TUNING RunType = 7 RunType_CALIBRATION_THR_SCAN RunType = 8 RunType_CALIBRATION_DIGITAL_SCAN RunType = 9 RunType_CALIBRATION_ANALOG_SCAN RunType = 10 RunType_CALIBRATION_FHR RunType = 11 RunType_CALIBRATION_ALPIDE_SCAN RunType = 12 RunType_CALIBRATION RunType = 13 RunType_COSMICS RunType = 14 RunType_SYNTHETIC RunType = 15 RunType_NOISE RunType = 16 RunType_CALIBRATION_PULSE_LENGTH RunType = 17 RunType_CALIBRATION_VRESETD RunType = 18 RunType_ANY RunType = 300 )
func (RunType) Descriptor ¶
func (RunType) Descriptor() protoreflect.EnumDescriptor
func (RunType) EnumDescriptor
deprecated
func (RunType) Number ¶
func (x RunType) Number() protoreflect.EnumNumber
func (RunType) Type ¶
func (RunType) Type() protoreflect.EnumType
type SetRuntimeEntryRequest ¶
type SetRuntimeEntryRequest struct { Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SetRuntimeEntryRequest) Descriptor
deprecated
func (*SetRuntimeEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRuntimeEntryRequest.ProtoReflect.Descriptor instead.
func (*SetRuntimeEntryRequest) GetComponent ¶
func (x *SetRuntimeEntryRequest) GetComponent() string
func (*SetRuntimeEntryRequest) GetKey ¶
func (x *SetRuntimeEntryRequest) GetKey() string
func (*SetRuntimeEntryRequest) GetValue ¶
func (x *SetRuntimeEntryRequest) GetValue() string
func (*SetRuntimeEntryRequest) ProtoMessage ¶
func (*SetRuntimeEntryRequest) ProtoMessage()
func (*SetRuntimeEntryRequest) ProtoReflect ¶
func (x *SetRuntimeEntryRequest) ProtoReflect() protoreflect.Message
func (*SetRuntimeEntryRequest) Reset ¶
func (x *SetRuntimeEntryRequest) Reset()
func (*SetRuntimeEntryRequest) String ¶
func (x *SetRuntimeEntryRequest) String() string
type StringMap ¶
type StringMap struct { StringMap map[string]string `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StringMap) Descriptor
deprecated
func (*StringMap) GetStringMap ¶
func (*StringMap) ProtoMessage ¶
func (*StringMap) ProtoMessage()
func (*StringMap) ProtoReflect ¶
func (x *StringMap) ProtoReflect() protoreflect.Message
type UnimplementedApricotServer ¶
type UnimplementedApricotServer struct { }
UnimplementedApricotServer should be embedded to have forward compatible implementations.
func (UnimplementedApricotServer) GetCRUCardsForHost ¶ added in v0.22.0
func (UnimplementedApricotServer) GetCRUCardsForHost(context.Context, *HostRequest) (*CRUCardsResponse, error)
func (UnimplementedApricotServer) GetComponentConfiguration ¶
func (UnimplementedApricotServer) GetComponentConfiguration(context.Context, *ComponentRequest) (*ComponentResponse, error)
func (UnimplementedApricotServer) GetComponentConfigurationWithLastIndex ¶ added in v0.29.2
func (UnimplementedApricotServer) GetComponentConfigurationWithLastIndex(context.Context, *ComponentRequest) (*ComponentResponseWithLastIndex, error)
func (UnimplementedApricotServer) GetDefaults ¶
func (UnimplementedApricotServer) GetDetectorForHost ¶ added in v0.22.0
func (UnimplementedApricotServer) GetDetectorForHost(context.Context, *HostRequest) (*DetectorResponse, error)
func (UnimplementedApricotServer) GetDetectorsForHosts ¶ added in v0.26.3
func (UnimplementedApricotServer) GetDetectorsForHosts(context.Context, *HostsRequest) (*DetectorsResponse, error)
func (UnimplementedApricotServer) GetDetectorsInventory ¶ added in v0.43.90
func (UnimplementedApricotServer) GetDetectorsInventory(context.Context, *Empty) (*DetectorEntriesResponse, error)
func (UnimplementedApricotServer) GetEndpointsForCRUCard ¶ added in v0.22.0
func (UnimplementedApricotServer) GetEndpointsForCRUCard(context.Context, *CardRequest) (*CRUCardEndpointResponse, error)
func (UnimplementedApricotServer) GetHostInventory ¶ added in v0.22.80
func (UnimplementedApricotServer) GetHostInventory(context.Context, *HostGetRequest) (*HostEntriesResponse, error)
func (UnimplementedApricotServer) GetRuntimeEntries ¶ added in v1.4.0
func (UnimplementedApricotServer) GetRuntimeEntries(context.Context, *GetRuntimeEntriesRequest) (*StringMap, error)
func (UnimplementedApricotServer) GetRuntimeEntry ¶
func (UnimplementedApricotServer) GetRuntimeEntry(context.Context, *GetRuntimeEntryRequest) (*ComponentResponse, error)
func (UnimplementedApricotServer) ImportComponentConfiguration ¶
func (UnimplementedApricotServer) ImportComponentConfiguration(context.Context, *ImportComponentConfigurationRequest) (*ImportComponentConfigurationResponse, error)
func (UnimplementedApricotServer) InvalidateComponentTemplateCache ¶ added in v1.0.0
func (UnimplementedApricotServer) ListComponentEntries ¶
func (UnimplementedApricotServer) ListComponentEntries(context.Context, *ListComponentEntriesRequest) (*ComponentEntriesResponse, error)
func (UnimplementedApricotServer) ListComponents ¶
func (UnimplementedApricotServer) ListComponents(context.Context, *Empty) (*ComponentEntriesResponse, error)
func (UnimplementedApricotServer) ListDetectors ¶ added in v0.26.3
func (UnimplementedApricotServer) ListDetectors(context.Context, *DetectorsRequest) (*DetectorsResponse, error)
func (UnimplementedApricotServer) ListRuntimeEntries ¶ added in v0.25.80
func (UnimplementedApricotServer) ListRuntimeEntries(context.Context, *ListRuntimeEntriesRequest) (*ComponentEntriesResponse, error)
func (UnimplementedApricotServer) NewRunNumber ¶
func (UnimplementedApricotServer) NewRunNumber(context.Context, *Empty) (*RunNumberResponse, error)
func (UnimplementedApricotServer) RawGetRecursive ¶
func (UnimplementedApricotServer) RawGetRecursive(context.Context, *RawGetRecursiveRequest) (*ComponentResponse, error)
func (UnimplementedApricotServer) ResolveComponentQuery ¶ added in v0.50.0
func (UnimplementedApricotServer) ResolveComponentQuery(context.Context, *ComponentQuery) (*ComponentQuery, error)
func (UnimplementedApricotServer) SetRuntimeEntry ¶
func (UnimplementedApricotServer) SetRuntimeEntry(context.Context, *SetRuntimeEntryRequest) (*Empty, error)
type UnsafeApricotServer ¶
type UnsafeApricotServer interface {
// contains filtered or unexported methods
}
UnsafeApricotServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApricotServer will result in compilation errors.