Documentation ¶
Index ¶
- 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 (x *ComponentQuery) GetTimestamp() string
- 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 DetectorResponse
- type Empty
- 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 ImportComponentConfigurationRequest
- func (*ImportComponentConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportComponentConfigurationRequest) GetNewComponent() bool
- func (x *ImportComponentConfigurationRequest) GetPayload() string
- func (x *ImportComponentConfigurationRequest) GetQuery() *ComponentQuery
- func (x *ImportComponentConfigurationRequest) GetUseVersioning() bool
- 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 (x *ImportComponentConfigurationResponse) GetNewTimestamp() int64
- 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) GetIncludeTimestamps() bool
- 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) GetDefaults(context.Context, *Empty) (*StringMap, error)
- func (UnimplementedApricotServer) GetDetectorForHost(context.Context, *HostRequest) (*DetectorResponse, error)
- func (UnimplementedApricotServer) GetEndpointsForCRUCard(context.Context, *CardRequest) (*CRUCardEndpointResponse, error)
- func (UnimplementedApricotServer) GetHostInventory(context.Context, *HostGetRequest) (*HostEntriesResponse, 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) ListComponentEntries(context.Context, *ListComponentEntriesRequest) (*ComponentEntriesResponse, error)
- func (UnimplementedApricotServer) ListComponentEntryHistory(context.Context, *ComponentQuery) (*ComponentEntriesResponse, error)
- func (UnimplementedApricotServer) ListComponents(context.Context, *Empty) (*ComponentEntriesResponse, 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) SetRuntimeEntry(context.Context, *SetRuntimeEntryRequest) (*Empty, error)
- type UnsafeApricotServer
Constants ¶
This section is empty.
Variables ¶
var ( RunType_name = map[int32]string{ 0: "NULL", 1: "ANY", 2: "PHYSICS", 3: "TECHNICAL", 4: "COSMIC", 5: "PEDESTAL", 6: "THRESHOLD_SCAN", 7: "CALIBRATION", } RunType_value = map[string]int32{ "NULL": 0, "ANY": 1, "PHYSICS": 2, "TECHNICAL": 3, "COSMIC": 4, "PEDESTAL": 5, "THRESHOLD_SCAN": 6, "CALIBRATION": 7, } )
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: "GetDetectorForHost", Handler: _Apricot_GetDetectorForHost_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: "ListRuntimeEntries", Handler: _Apricot_ListRuntimeEntries_Handler, }, { MethodName: "GetHostInventory", Handler: _Apricot_GetHostInventory_Handler, }, { MethodName: "ListComponents", Handler: _Apricot_ListComponents_Handler, }, { MethodName: "ListComponentEntries", Handler: _Apricot_ListComponentEntries_Handler, }, { MethodName: "ListComponentEntryHistory", Handler: _Apricot_ListComponentEntryHistory_Handler, }, { MethodName: "GetComponentConfiguration", Handler: _Apricot_GetComponentConfiguration_Handler, }, { MethodName: "ImportComponentConfiguration", Handler: _Apricot_ImportComponentConfiguration_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) GetDetectorForHost(ctx context.Context, in *HostRequest, opts ...grpc.CallOption) (*DetectorResponse, error) GetCRUCardsForHost(ctx context.Context, in *HostRequest, opts ...grpc.CallOption) (*CRUCardsResponse, error) GetEndpointsForCRUCard(ctx context.Context, in *CardRequest, opts ...grpc.CallOption) (*CRUCardEndpointResponse, error) GetRuntimeEntry(ctx context.Context, in *GetRuntimeEntryRequest, opts ...grpc.CallOption) (*ComponentResponse, error) SetRuntimeEntry(ctx context.Context, in *SetRuntimeEntryRequest, opts ...grpc.CallOption) (*Empty, error) ListRuntimeEntries(ctx context.Context, in *ListRuntimeEntriesRequest, opts ...grpc.CallOption) (*ComponentEntriesResponse, error) GetHostInventory(ctx context.Context, in *HostGetRequest, opts ...grpc.CallOption) (*HostEntriesResponse, error) ListComponents(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ComponentEntriesResponse, error) ListComponentEntries(ctx context.Context, in *ListComponentEntriesRequest, opts ...grpc.CallOption) (*ComponentEntriesResponse, error) ListComponentEntryHistory(ctx context.Context, in *ComponentQuery, opts ...grpc.CallOption) (*ComponentEntriesResponse, error) GetComponentConfiguration(ctx context.Context, in *ComponentRequest, opts ...grpc.CallOption) (*ComponentResponse, error) ImportComponentConfiguration(ctx context.Context, in *ImportComponentConfigurationRequest, opts ...grpc.CallOption) (*ImportComponentConfigurationResponse, 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) GetDetectorForHost(context.Context, *HostRequest) (*DetectorResponse, error) GetCRUCardsForHost(context.Context, *HostRequest) (*CRUCardsResponse, error) GetEndpointsForCRUCard(context.Context, *CardRequest) (*CRUCardEndpointResponse, error) GetRuntimeEntry(context.Context, *GetRuntimeEntryRequest) (*ComponentResponse, error) SetRuntimeEntry(context.Context, *SetRuntimeEntryRequest) (*Empty, error) ListRuntimeEntries(context.Context, *ListRuntimeEntriesRequest) (*ComponentEntriesResponse, error) GetHostInventory(context.Context, *HostGetRequest) (*HostEntriesResponse, error) ListComponents(context.Context, *Empty) (*ComponentEntriesResponse, error) ListComponentEntries(context.Context, *ListComponentEntriesRequest) (*ComponentEntriesResponse, error) ListComponentEntryHistory(context.Context, *ComponentQuery) (*ComponentEntriesResponse, error) GetComponentConfiguration(context.Context, *ComponentRequest) (*ComponentResponse, error) ImportComponentConfiguration(context.Context, *ImportComponentConfigurationRequest) (*ImportComponentConfigurationResponse, 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"` Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,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) GetTimestamp ¶
func (x *ComponentQuery) GetTimestamp() string
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 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 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 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 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"` UseVersioning bool `protobuf:"varint,4,opt,name=useVersioning,proto3" json:"useVersioning,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) GetUseVersioning ¶
func (x *ImportComponentConfigurationRequest) GetUseVersioning() bool
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"` NewTimestamp int64 `protobuf:"varint,3,opt,name=newTimestamp,proto3" json:"newTimestamp,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) GetNewTimestamp ¶
func (x *ImportComponentConfigurationResponse) GetNewTimestamp() int64
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"` IncludeTimestamps bool `protobuf:"varint,3,opt,name=includeTimestamps,proto3" json:"includeTimestamps,omitempty"` // contains filtered or unexported fields }
func (*ListComponentEntriesRequest) Descriptor
deprecated
func (*ListComponentEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentEntriesRequest.ProtoReflect.Descriptor instead.
func (*ListComponentEntriesRequest) GetIncludeTimestamps ¶
func (x *ListComponentEntriesRequest) GetIncludeTimestamps() bool
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
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) GetDefaults ¶
func (UnimplementedApricotServer) GetDetectorForHost ¶ added in v0.22.0
func (UnimplementedApricotServer) GetDetectorForHost(context.Context, *HostRequest) (*DetectorResponse, 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) GetRuntimeEntry ¶
func (UnimplementedApricotServer) GetRuntimeEntry(context.Context, *GetRuntimeEntryRequest) (*ComponentResponse, error)
func (UnimplementedApricotServer) ImportComponentConfiguration ¶
func (UnimplementedApricotServer) ImportComponentConfiguration(context.Context, *ImportComponentConfigurationRequest) (*ImportComponentConfigurationResponse, error)
func (UnimplementedApricotServer) ListComponentEntries ¶
func (UnimplementedApricotServer) ListComponentEntries(context.Context, *ListComponentEntriesRequest) (*ComponentEntriesResponse, error)
func (UnimplementedApricotServer) ListComponentEntryHistory ¶
func (UnimplementedApricotServer) ListComponentEntryHistory(context.Context, *ComponentQuery) (*ComponentEntriesResponse, error)
func (UnimplementedApricotServer) ListComponents ¶
func (UnimplementedApricotServer) ListComponents(context.Context, *Empty) (*ComponentEntriesResponse, 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) 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.