links

package
v0.0.0-...-6850833 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LinkEvent_Type_name = map[int32]string{
		1: "REGISTERED",
		2: "UNREGISTERED",
		3: "UPDATED",
		4: "UPDATE_ALL",
	}
	LinkEvent_Type_value = map[string]int32{
		"REGISTERED":   1,
		"UNREGISTERED": 2,
		"UPDATED":      3,
		"UPDATE_ALL":   4,
	}
)

Enum value maps for LinkEvent_Type.

View Source
var File_yamcs_protobuf_links_links_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DisableLinkRequest

type DisableLinkRequest struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"`
	// Link name.
	Link *string `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableLinkRequest) Descriptor deprecated

func (*DisableLinkRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableLinkRequest.ProtoReflect.Descriptor instead.

func (*DisableLinkRequest) GetInstance

func (x *DisableLinkRequest) GetInstance() string
func (x *DisableLinkRequest) GetLink() string

func (*DisableLinkRequest) ProtoMessage

func (*DisableLinkRequest) ProtoMessage()

func (*DisableLinkRequest) ProtoReflect

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

func (*DisableLinkRequest) Reset

func (x *DisableLinkRequest) Reset()

func (*DisableLinkRequest) String

func (x *DisableLinkRequest) String() string

type EditLinkRequest

type EditLinkRequest struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,3,opt,name=instance" json:"instance,omitempty"`
	// Link name.
	Link *string `protobuf:"bytes,4,opt,name=link" json:"link,omitempty"`
	// The state of the link. Either “enabled“ or “disabled“.
	State         *string `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"`
	ResetCounters *bool   `protobuf:"varint,2,opt,name=resetCounters" json:"resetCounters,omitempty"`
	// contains filtered or unexported fields
}

func (*EditLinkRequest) Descriptor deprecated

func (*EditLinkRequest) Descriptor() ([]byte, []int)

Deprecated: Use EditLinkRequest.ProtoReflect.Descriptor instead.

func (*EditLinkRequest) GetInstance

func (x *EditLinkRequest) GetInstance() string
func (x *EditLinkRequest) GetLink() string

func (*EditLinkRequest) GetResetCounters

func (x *EditLinkRequest) GetResetCounters() bool

func (*EditLinkRequest) GetState

func (x *EditLinkRequest) GetState() string

func (*EditLinkRequest) ProtoMessage

func (*EditLinkRequest) ProtoMessage()

func (*EditLinkRequest) ProtoReflect

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

func (*EditLinkRequest) Reset

func (x *EditLinkRequest) Reset()

func (*EditLinkRequest) String

func (x *EditLinkRequest) String() string

type EnableLinkRequest

type EnableLinkRequest struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"`
	// Link name.
	Link *string `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableLinkRequest) Descriptor deprecated

func (*EnableLinkRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableLinkRequest.ProtoReflect.Descriptor instead.

func (*EnableLinkRequest) GetInstance

func (x *EnableLinkRequest) GetInstance() string
func (x *EnableLinkRequest) GetLink() string

func (*EnableLinkRequest) ProtoMessage

func (*EnableLinkRequest) ProtoMessage()

func (*EnableLinkRequest) ProtoReflect

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

func (*EnableLinkRequest) Reset

func (x *EnableLinkRequest) Reset()

func (*EnableLinkRequest) String

func (x *EnableLinkRequest) String() string

type GetLinkRequest

type GetLinkRequest struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"`
	// Link name.
	Link *string `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkRequest) Descriptor deprecated

func (*GetLinkRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLinkRequest.ProtoReflect.Descriptor instead.

func (*GetLinkRequest) GetInstance

func (x *GetLinkRequest) GetInstance() string
func (x *GetLinkRequest) GetLink() string

func (*GetLinkRequest) ProtoMessage

func (*GetLinkRequest) ProtoMessage()

func (*GetLinkRequest) ProtoReflect

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

func (*GetLinkRequest) Reset

func (x *GetLinkRequest) Reset()

func (*GetLinkRequest) String

func (x *GetLinkRequest) String() string

type LinkActionInfo

type LinkActionInfo struct {

	// Action ID.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Label describing an action
	Label *string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
	Style *string `protobuf:"bytes,3,opt,name=style" json:"style,omitempty"`
	// Whether this action is currently enabled.
	Enabled *bool `protobuf:"varint,4,opt,name=enabled" json:"enabled,omitempty"`
	// Whether this action is currently checked.
	Checked *bool `protobuf:"varint,5,opt,name=checked" json:"checked,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkActionInfo) Descriptor deprecated

func (*LinkActionInfo) Descriptor() ([]byte, []int)

Deprecated: Use LinkActionInfo.ProtoReflect.Descriptor instead.

func (*LinkActionInfo) GetChecked

func (x *LinkActionInfo) GetChecked() bool

func (*LinkActionInfo) GetEnabled

func (x *LinkActionInfo) GetEnabled() bool

func (*LinkActionInfo) GetId

func (x *LinkActionInfo) GetId() string

func (*LinkActionInfo) GetLabel

func (x *LinkActionInfo) GetLabel() string

func (*LinkActionInfo) GetStyle

func (x *LinkActionInfo) GetStyle() string

func (*LinkActionInfo) ProtoMessage

func (*LinkActionInfo) ProtoMessage()

func (*LinkActionInfo) ProtoReflect

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

func (*LinkActionInfo) Reset

func (x *LinkActionInfo) Reset()

func (*LinkActionInfo) String

func (x *LinkActionInfo) String() string

type LinkEvent

type LinkEvent struct {

	// Type of event. This field is deprecated: in older versions of Yamcs, link updates
	// were sent one-by-one using one of the types: “REGISTERED“, “UNREGISTERED“ or
	// “UPDATED“ and with the “linkInfo“ field set to that sepific link.
	//
	// In current versions of Yamcs, users are advised to switch to read the “links“
	// field instead. This will be published automatically about every second with a
	// snapshot of all links. The type for these batch updates is set to “UPDATE_ALL“.
	//
	// Deprecated: Do not use.
	Type *LinkEvent_Type `protobuf:"varint,1,opt,name=type,enum=yamcs.protobuf.links.LinkEvent_Type" json:"type,omitempty"`
	// Deprecated: read “links“ instead.
	//
	// Deprecated: Do not use.
	LinkInfo *LinkInfo `protobuf:"bytes,2,opt,name=linkInfo" json:"linkInfo,omitempty"`
	// Detail for all links.
	Links []*LinkInfo `protobuf:"bytes,3,rep,name=links" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkEvent) Descriptor deprecated

func (*LinkEvent) Descriptor() ([]byte, []int)

Deprecated: Use LinkEvent.ProtoReflect.Descriptor instead.

func (*LinkEvent) GetLinkInfo deprecated

func (x *LinkEvent) GetLinkInfo() *LinkInfo

Deprecated: Do not use.

func (x *LinkEvent) GetLinks() []*LinkInfo

func (*LinkEvent) GetType deprecated

func (x *LinkEvent) GetType() LinkEvent_Type

Deprecated: Do not use.

func (*LinkEvent) ProtoMessage

func (*LinkEvent) ProtoMessage()

func (*LinkEvent) ProtoReflect

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

func (*LinkEvent) Reset

func (x *LinkEvent) Reset()

func (*LinkEvent) String

func (x *LinkEvent) String() string

type LinkEvent_Type

type LinkEvent_Type int32
const (
	// A new link was registered. You also receive this event directly after you subscribe,
	//
	//	for every link that is registered at that time.
	LinkEvent_REGISTERED LinkEvent_Type = 1
	// A link was unregistered.
	LinkEvent_UNREGISTERED LinkEvent_Type = 2
	// A link was updated in one of its attributes, for example the dataCount has increased,
	// or the status has changed.
	LinkEvent_UPDATED LinkEvent_Type = 3
	// Replace entire model with the link information
	// provided in the `links` field.
	LinkEvent_UPDATE_ALL LinkEvent_Type = 4
)

func (LinkEvent_Type) Descriptor

func (LinkEvent_Type) Enum

func (x LinkEvent_Type) Enum() *LinkEvent_Type

func (LinkEvent_Type) EnumDescriptor deprecated

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

Deprecated: Use LinkEvent_Type.Descriptor instead.

func (LinkEvent_Type) Number

func (LinkEvent_Type) String

func (x LinkEvent_Type) String() string

func (LinkEvent_Type) Type

func (*LinkEvent_Type) UnmarshalJSON deprecated

func (x *LinkEvent_Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LinkInfo

type LinkInfo struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"`
	// Link name.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Java class name
	Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
	// Configuration
	Spec *string `protobuf:"bytes,4,opt,name=spec" json:"spec,omitempty"`
	// Whether this link is currently disabled.
	Disabled *bool   `protobuf:"varint,6,opt,name=disabled" json:"disabled,omitempty"`
	Status   *string `protobuf:"bytes,7,opt,name=status" json:"status,omitempty"`
	// Counter of inbound (received) data.
	// The unit of this is specific to each link.
	DataInCount *int64 `protobuf:"varint,10,opt,name=dataInCount" json:"dataInCount,omitempty"`
	// Counter of outbound (transmitted) data.
	// The unit of this is specific to each link.
	DataOutCount *int64 `protobuf:"varint,11,opt,name=dataOutCount" json:"dataOutCount,omitempty"`
	// Short status information
	DetailedStatus *string `protobuf:"bytes,9,opt,name=detailedStatus" json:"detailedStatus,omitempty"`
	// if this is a sublink of an aggregated data link, this is the name of the parent
	ParentName *string `protobuf:"bytes,12,opt,name=parentName" json:"parentName,omitempty"`
	// Custom actions
	Actions []*LinkActionInfo `protobuf:"bytes,13,rep,name=actions" json:"actions,omitempty"`
	// Custom info fields
	Extra *_struct.Struct `protobuf:"bytes,14,opt,name=extra" json:"extra,omitempty"`
	// System parameters generated by this link
	Parameters []string `protobuf:"bytes,15,rep,name=parameters" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkInfo) Descriptor deprecated

func (*LinkInfo) Descriptor() ([]byte, []int)

Deprecated: Use LinkInfo.ProtoReflect.Descriptor instead.

func (*LinkInfo) GetActions

func (x *LinkInfo) GetActions() []*LinkActionInfo

func (*LinkInfo) GetDataInCount

func (x *LinkInfo) GetDataInCount() int64

func (*LinkInfo) GetDataOutCount

func (x *LinkInfo) GetDataOutCount() int64

func (*LinkInfo) GetDetailedStatus

func (x *LinkInfo) GetDetailedStatus() string

func (*LinkInfo) GetDisabled

func (x *LinkInfo) GetDisabled() bool

func (*LinkInfo) GetExtra

func (x *LinkInfo) GetExtra() *_struct.Struct

func (*LinkInfo) GetInstance

func (x *LinkInfo) GetInstance() string

func (*LinkInfo) GetName

func (x *LinkInfo) GetName() string

func (*LinkInfo) GetParameters

func (x *LinkInfo) GetParameters() []string

func (*LinkInfo) GetParentName

func (x *LinkInfo) GetParentName() string

func (*LinkInfo) GetSpec

func (x *LinkInfo) GetSpec() string

func (*LinkInfo) GetStatus

func (x *LinkInfo) GetStatus() string

func (*LinkInfo) GetType

func (x *LinkInfo) GetType() string

func (*LinkInfo) ProtoMessage

func (*LinkInfo) ProtoMessage()

func (*LinkInfo) ProtoReflect

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

func (*LinkInfo) Reset

func (x *LinkInfo) Reset()

func (*LinkInfo) String

func (x *LinkInfo) String() string

type ListLinksRequest

type ListLinksRequest struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLinksRequest) Descriptor deprecated

func (*ListLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListLinksRequest.ProtoReflect.Descriptor instead.

func (*ListLinksRequest) GetInstance

func (x *ListLinksRequest) GetInstance() string

func (*ListLinksRequest) ProtoMessage

func (*ListLinksRequest) ProtoMessage()

func (*ListLinksRequest) ProtoReflect

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

func (*ListLinksRequest) Reset

func (x *ListLinksRequest) Reset()

func (*ListLinksRequest) String

func (x *ListLinksRequest) String() string

type ListLinksResponse

type ListLinksResponse struct {
	Links []*LinkInfo `protobuf:"bytes,1,rep,name=links" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLinksResponse) Descriptor deprecated

func (*ListLinksResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListLinksResponse.ProtoReflect.Descriptor instead.

func (x *ListLinksResponse) GetLinks() []*LinkInfo

func (*ListLinksResponse) ProtoMessage

func (*ListLinksResponse) ProtoMessage()

func (*ListLinksResponse) ProtoReflect

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

func (*ListLinksResponse) Reset

func (x *ListLinksResponse) Reset()

func (*ListLinksResponse) String

func (x *ListLinksResponse) String() string

type ResetLinkCountersRequest

type ResetLinkCountersRequest struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"`
	// Link name.
	Link *string `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetLinkCountersRequest) Descriptor deprecated

func (*ResetLinkCountersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetLinkCountersRequest.ProtoReflect.Descriptor instead.

func (*ResetLinkCountersRequest) GetInstance

func (x *ResetLinkCountersRequest) GetInstance() string
func (x *ResetLinkCountersRequest) GetLink() string

func (*ResetLinkCountersRequest) ProtoMessage

func (*ResetLinkCountersRequest) ProtoMessage()

func (*ResetLinkCountersRequest) ProtoReflect

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

func (*ResetLinkCountersRequest) Reset

func (x *ResetLinkCountersRequest) Reset()

func (*ResetLinkCountersRequest) String

func (x *ResetLinkCountersRequest) String() string

type RunActionRequest

type RunActionRequest struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"`
	// Link name.
	Link *string `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"`
	// Action name.
	Action *string `protobuf:"bytes,3,opt,name=action" json:"action,omitempty"`
	// Action message.
	Message *_struct.Struct `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*RunActionRequest) Descriptor deprecated

func (*RunActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunActionRequest.ProtoReflect.Descriptor instead.

func (*RunActionRequest) GetAction

func (x *RunActionRequest) GetAction() string

func (*RunActionRequest) GetInstance

func (x *RunActionRequest) GetInstance() string
func (x *RunActionRequest) GetLink() string

func (*RunActionRequest) GetMessage

func (x *RunActionRequest) GetMessage() *_struct.Struct

func (*RunActionRequest) ProtoMessage

func (*RunActionRequest) ProtoMessage()

func (*RunActionRequest) ProtoReflect

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

func (*RunActionRequest) Reset

func (x *RunActionRequest) Reset()

func (*RunActionRequest) String

func (x *RunActionRequest) String() string

type SubscribeLinksRequest

type SubscribeLinksRequest struct {

	// Yamcs instance name.
	Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeLinksRequest) Descriptor deprecated

func (*SubscribeLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeLinksRequest.ProtoReflect.Descriptor instead.

func (*SubscribeLinksRequest) GetInstance

func (x *SubscribeLinksRequest) GetInstance() string

func (*SubscribeLinksRequest) ProtoMessage

func (*SubscribeLinksRequest) ProtoMessage()

func (*SubscribeLinksRequest) ProtoReflect

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

func (*SubscribeLinksRequest) Reset

func (x *SubscribeLinksRequest) Reset()

func (*SubscribeLinksRequest) String

func (x *SubscribeLinksRequest) String() string

Jump to

Keyboard shortcuts

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