apricotpb

package
v0.48.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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: "ListRuntimeEntries",
			Handler:    _Apricot_ListRuntimeEntries_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: "GetComponentConfigurationWithLastIndex",
			Handler:    _Apricot_GetComponentConfigurationWithLastIndex_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)

View Source
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)
	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)
	ListComponentEntryHistory(ctx context.Context, in *ComponentQuery, 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)
	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)
	// 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)
	ListRuntimeEntries(context.Context, *ListRuntimeEntriesRequest) (*ComponentEntriesResponse, error)
	// Component configuration calls
	ListComponents(context.Context, *Empty) (*ComponentEntriesResponse, error)
	ListComponentEntries(context.Context, *ListComponentEntriesRequest) (*ComponentEntriesResponse, error)
	ListComponentEntryHistory(context.Context, *ComponentQuery) (*ComponentEntriesResponse, error)
	GetComponentConfiguration(context.Context, *ComponentRequest) (*ComponentResponse, error)
	GetComponentConfigurationWithLastIndex(context.Context, *ComponentRequest) (*ComponentResponseWithLastIndex, 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 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 (*ComponentResponseWithLastIndex) Reset added in v0.29.2

func (x *ComponentResponseWithLastIndex) Reset()

func (*ComponentResponseWithLastIndex) String added in v0.29.2

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

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 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"`
	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 (*ImportComponentConfigurationRequest) GetQuery

func (*ImportComponentConfigurationRequest) GetUseVersioning

func (x *ImportComponentConfigurationRequest) GetUseVersioning() bool

func (*ImportComponentConfigurationRequest) ProtoMessage

func (*ImportComponentConfigurationRequest) ProtoMessage()

func (*ImportComponentConfigurationRequest) ProtoReflect

func (*ImportComponentConfigurationRequest) Reset

func (*ImportComponentConfigurationRequest) 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 (*ImportComponentConfigurationResponse) Reset

func (*ImportComponentConfigurationResponse) 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 (*ListComponentEntriesRequest) GetQueryPath

func (m *ListComponentEntriesRequest) GetQueryPath() isListComponentEntriesRequest_QueryPath

func (*ListComponentEntriesRequest) ProtoMessage

func (*ListComponentEntriesRequest) ProtoMessage()

func (*ListComponentEntriesRequest) ProtoReflect

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 (*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_ANY            RunType = 1
	RunType_PHYSICS        RunType = 2
	RunType_TECHNICAL      RunType = 3
	RunType_COSMIC         RunType = 4
	RunType_PEDESTAL       RunType = 5
	RunType_THRESHOLD_SCAN RunType = 6
	RunType_CALIBRATION    RunType = 7
)

func (RunType) Descriptor

func (RunType) Descriptor() protoreflect.EnumDescriptor

func (RunType) Enum

func (x RunType) Enum() *RunType

func (RunType) EnumDescriptor deprecated

func (RunType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RunType.Descriptor instead.

func (RunType) Number

func (x RunType) Number() protoreflect.EnumNumber

func (RunType) String

func (x RunType) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use StringMap.ProtoReflect.Descriptor instead.

func (*StringMap) GetStringMap

func (x *StringMap) GetStringMap() map[string]string

func (*StringMap) ProtoMessage

func (*StringMap) ProtoMessage()

func (*StringMap) ProtoReflect

func (x *StringMap) ProtoReflect() protoreflect.Message

func (*StringMap) Reset

func (x *StringMap) Reset()

func (*StringMap) String

func (x *StringMap) String() string

type UnimplementedApricotServer

type UnimplementedApricotServer struct {
}

UnimplementedApricotServer should be embedded to have forward compatible implementations.

func (UnimplementedApricotServer) GetCRUCardsForHost added in v0.22.0

func (UnimplementedApricotServer) GetComponentConfiguration

func (UnimplementedApricotServer) GetComponentConfigurationWithLastIndex added in v0.29.2

func (UnimplementedApricotServer) GetDefaults

func (UnimplementedApricotServer) GetDetectorForHost added in v0.22.0

func (UnimplementedApricotServer) GetDetectorsForHosts added in v0.26.3

func (UnimplementedApricotServer) GetDetectorsInventory added in v0.43.90

func (UnimplementedApricotServer) GetEndpointsForCRUCard added in v0.22.0

func (UnimplementedApricotServer) GetHostInventory added in v0.22.80

func (UnimplementedApricotServer) GetRuntimeEntry

func (UnimplementedApricotServer) GetVars

func (UnimplementedApricotServer) ListComponentEntryHistory

func (UnimplementedApricotServer) ListComponents

func (UnimplementedApricotServer) ListDetectors added in v0.26.3

func (UnimplementedApricotServer) ListRuntimeEntries added in v0.25.80

func (UnimplementedApricotServer) NewRunNumber

func (UnimplementedApricotServer) RawGetRecursive

func (UnimplementedApricotServer) SetRuntimeEntry

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.

Jump to

Keyboard shortcuts

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