Documentation ¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Index ¶
- Variables
- type ComponentView
- func (in *ComponentView) DeepCopy() *ComponentView
- func (in *ComponentView) DeepCopyInterface() interface{}
- func (in *ComponentView) DeepCopyInto(out *ComponentView)
- func (*ComponentView) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentView) GetComponent() *structpb.Struct
- func (x *ComponentView) GetComponentDescription() string
- func (x *ComponentView) GetComponentId() string
- func (x *ComponentView) GetComponentName() string
- func (x *ComponentView) GetComponentType() string
- func (x *ComponentView) GetInPorts() []*PortView
- func (x *ComponentView) GetOutPorts() []*PortView
- func (x *ComponentView) GetParentComponentId() string
- func (msg *ComponentView) MarshalJSON() ([]byte, error)
- func (*ComponentView) ProtoMessage()
- func (x *ComponentView) ProtoReflect() protoreflect.Message
- func (x *ComponentView) Reset()
- func (x *ComponentView) String() string
- func (msg *ComponentView) UnmarshalJSON(b []byte) error
- type Link
- func (in *Link) DeepCopy() *Link
- func (in *Link) DeepCopyInterface() interface{}
- func (in *Link) DeepCopyInto(out *Link)
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetSignalName() string
- func (x *Link) GetSource() *SourceTarget
- func (x *Link) GetTarget() *SourceTarget
- func (msg *Link) MarshalJSON() ([]byte, error)
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- func (msg *Link) UnmarshalJSON(b []byte) error
- type PortView
- func (in *PortView) DeepCopy() *PortView
- func (in *PortView) DeepCopyInterface() interface{}
- func (in *PortView) DeepCopyInto(out *PortView)
- func (*PortView) Descriptor() ([]byte, []int)deprecated
- func (x *PortView) GetConstantValue() float64
- func (x *PortView) GetLooped() bool
- func (x *PortView) GetPortName() string
- func (x *PortView) GetSignalName() string
- func (m *PortView) GetValue() isPortView_Value
- func (msg *PortView) MarshalJSON() ([]byte, error)
- func (*PortView) ProtoMessage()
- func (x *PortView) ProtoReflect() protoreflect.Message
- func (x *PortView) Reset()
- func (x *PortView) String() string
- func (msg *PortView) UnmarshalJSON(b []byte) error
- type PortView_ConstantValue
- type PortView_SignalName
- type SignalMetricsInfo
- func (in *SignalMetricsInfo) DeepCopy() *SignalMetricsInfo
- func (in *SignalMetricsInfo) DeepCopyInterface() interface{}
- func (in *SignalMetricsInfo) DeepCopyInto(out *SignalMetricsInfo)
- func (*SignalMetricsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SignalMetricsInfo) GetPolicyHash() string
- func (x *SignalMetricsInfo) GetPolicyName() string
- func (x *SignalMetricsInfo) GetSignalReading() []*SignalReading
- func (msg *SignalMetricsInfo) MarshalJSON() ([]byte, error)
- func (*SignalMetricsInfo) ProtoMessage()
- func (x *SignalMetricsInfo) ProtoReflect() protoreflect.Message
- func (x *SignalMetricsInfo) Reset()
- func (x *SignalMetricsInfo) String() string
- func (msg *SignalMetricsInfo) UnmarshalJSON(b []byte) error
- type SignalReading
- func (in *SignalReading) DeepCopy() *SignalReading
- func (in *SignalReading) DeepCopyInterface() interface{}
- func (in *SignalReading) DeepCopyInto(out *SignalReading)
- func (*SignalReading) Descriptor() ([]byte, []int)deprecated
- func (x *SignalReading) GetSignalName() string
- func (x *SignalReading) GetValid() bool
- func (x *SignalReading) GetValue() float64
- func (msg *SignalReading) MarshalJSON() ([]byte, error)
- func (*SignalReading) ProtoMessage()
- func (x *SignalReading) ProtoReflect() protoreflect.Message
- func (x *SignalReading) Reset()
- func (x *SignalReading) String() string
- func (msg *SignalReading) UnmarshalJSON(b []byte) error
- type SourceTarget
- func (in *SourceTarget) DeepCopy() *SourceTarget
- func (in *SourceTarget) DeepCopyInterface() interface{}
- func (in *SourceTarget) DeepCopyInto(out *SourceTarget)
- func (*SourceTarget) Descriptor() ([]byte, []int)deprecated
- func (x *SourceTarget) GetComponentId() string
- func (x *SourceTarget) GetPortName() string
- func (msg *SourceTarget) MarshalJSON() ([]byte, error)
- func (*SourceTarget) ProtoMessage()
- func (x *SourceTarget) ProtoReflect() protoreflect.Message
- func (x *SourceTarget) Reset()
- func (x *SourceTarget) String() string
- func (msg *SourceTarget) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_aperture_policy_monitoring_v1_policy_view_proto protoreflect.FileDescriptor
var File_aperture_policy_monitoring_v1_signal_metrics_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ComponentView ¶
type ComponentView struct { ComponentId string `protobuf:"bytes,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"` ComponentName string `protobuf:"bytes,2,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` ComponentType string `protobuf:"bytes,3,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"` ComponentDescription string `protobuf:"bytes,4,opt,name=component_description,json=componentDescription,proto3" json:"component_description,omitempty"` Component *structpb.Struct `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"` InPorts []*PortView `protobuf:"bytes,6,rep,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"` OutPorts []*PortView `protobuf:"bytes,7,rep,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"` ParentComponentId string `protobuf:"bytes,8,opt,name=parent_component_id,json=parentComponentId,proto3" json:"parent_component_id,omitempty"` // contains filtered or unexported fields }
func (*ComponentView) DeepCopy ¶
func (in *ComponentView) DeepCopy() *ComponentView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentView. Required by controller-gen.
func (*ComponentView) DeepCopyInterface ¶
func (in *ComponentView) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ComponentView. Required by controller-gen.
func (*ComponentView) DeepCopyInto ¶
func (in *ComponentView) DeepCopyInto(out *ComponentView)
DeepCopyInto supports using ComponentView within kubernetes types, where deepcopy-gen is used.
func (*ComponentView) Descriptor
deprecated
func (*ComponentView) Descriptor() ([]byte, []int)
Deprecated: Use ComponentView.ProtoReflect.Descriptor instead.
func (*ComponentView) GetComponent ¶
func (x *ComponentView) GetComponent() *structpb.Struct
func (*ComponentView) GetComponentDescription ¶
func (x *ComponentView) GetComponentDescription() string
func (*ComponentView) GetComponentId ¶
func (x *ComponentView) GetComponentId() string
func (*ComponentView) GetComponentName ¶
func (x *ComponentView) GetComponentName() string
func (*ComponentView) GetComponentType ¶
func (x *ComponentView) GetComponentType() string
func (*ComponentView) GetInPorts ¶
func (x *ComponentView) GetInPorts() []*PortView
func (*ComponentView) GetOutPorts ¶
func (x *ComponentView) GetOutPorts() []*PortView
func (*ComponentView) GetParentComponentId ¶
func (x *ComponentView) GetParentComponentId() string
func (*ComponentView) MarshalJSON ¶
func (msg *ComponentView) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ComponentView) ProtoMessage ¶
func (*ComponentView) ProtoMessage()
func (*ComponentView) ProtoReflect ¶
func (x *ComponentView) ProtoReflect() protoreflect.Message
func (*ComponentView) Reset ¶
func (x *ComponentView) Reset()
func (*ComponentView) String ¶
func (x *ComponentView) String() string
func (*ComponentView) UnmarshalJSON ¶
func (msg *ComponentView) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Link ¶
type Link struct { Source *SourceTarget `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Target *SourceTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` SignalName string `protobuf:"bytes,3,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` // contains filtered or unexported fields }
Link is a connection between Components.
func (*Link) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link. Required by controller-gen.
func (*Link) DeepCopyInterface ¶
func (in *Link) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Link. Required by controller-gen.
func (*Link) DeepCopyInto ¶
DeepCopyInto supports using Link within kubernetes types, where deepcopy-gen is used.
func (*Link) Descriptor
deprecated
func (*Link) GetSignalName ¶
func (*Link) GetSource ¶
func (x *Link) GetSource() *SourceTarget
func (*Link) GetTarget ¶
func (x *Link) GetTarget() *SourceTarget
func (*Link) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
func (*Link) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type PortView ¶
type PortView struct { // Port name PortName string `protobuf:"bytes,1,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"` // Types that are assignable to Value: // *PortView_SignalName // *PortView_ConstantValue Value isPortView_Value `protobuf_oneof:"value"` // True if port is looped. Looped bool `protobuf:"varint,4,opt,name=looped,proto3" json:"looped,omitempty"` // contains filtered or unexported fields }
Components are interconnected with each other via Ports
func (*PortView) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortView. Required by controller-gen.
func (*PortView) DeepCopyInterface ¶
func (in *PortView) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PortView. Required by controller-gen.
func (*PortView) DeepCopyInto ¶
DeepCopyInto supports using PortView within kubernetes types, where deepcopy-gen is used.
func (*PortView) Descriptor
deprecated
func (*PortView) GetConstantValue ¶
func (*PortView) GetPortName ¶
func (*PortView) GetSignalName ¶
func (*PortView) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*PortView) ProtoMessage ¶
func (*PortView) ProtoMessage()
func (*PortView) ProtoReflect ¶
func (x *PortView) ProtoReflect() protoreflect.Message
func (*PortView) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type PortView_ConstantValue ¶
type PortView_ConstantValue struct { // Constant value at an incoming Port ConstantValue float64 `protobuf:"fixed64,3,opt,name=constant_value,json=constantValue,proto3,oneof"` }
type PortView_SignalName ¶
type PortView_SignalName struct { // Name of the Signal on the Port. SignalName string `protobuf:"bytes,2,opt,name=signal_name,json=signalName,proto3,oneof"` }
type SignalMetricsInfo ¶
type SignalMetricsInfo struct { // Name of the Policy. PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // Hash of the entire Policy spec. PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"` // List of signals readings. SignalReading []*SignalReading `protobuf:"bytes,3,rep,name=signal_reading,json=signalReading,proto3" json:"signal_reading,omitempty"` // contains filtered or unexported fields }
func (*SignalMetricsInfo) DeepCopy ¶
func (in *SignalMetricsInfo) DeepCopy() *SignalMetricsInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalMetricsInfo. Required by controller-gen.
func (*SignalMetricsInfo) DeepCopyInterface ¶
func (in *SignalMetricsInfo) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SignalMetricsInfo. Required by controller-gen.
func (*SignalMetricsInfo) DeepCopyInto ¶
func (in *SignalMetricsInfo) DeepCopyInto(out *SignalMetricsInfo)
DeepCopyInto supports using SignalMetricsInfo within kubernetes types, where deepcopy-gen is used.
func (*SignalMetricsInfo) Descriptor
deprecated
func (*SignalMetricsInfo) Descriptor() ([]byte, []int)
Deprecated: Use SignalMetricsInfo.ProtoReflect.Descriptor instead.
func (*SignalMetricsInfo) GetPolicyHash ¶
func (x *SignalMetricsInfo) GetPolicyHash() string
func (*SignalMetricsInfo) GetPolicyName ¶
func (x *SignalMetricsInfo) GetPolicyName() string
func (*SignalMetricsInfo) GetSignalReading ¶
func (x *SignalMetricsInfo) GetSignalReading() []*SignalReading
func (*SignalMetricsInfo) MarshalJSON ¶
func (msg *SignalMetricsInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SignalMetricsInfo) ProtoMessage ¶
func (*SignalMetricsInfo) ProtoMessage()
func (*SignalMetricsInfo) ProtoReflect ¶
func (x *SignalMetricsInfo) ProtoReflect() protoreflect.Message
func (*SignalMetricsInfo) Reset ¶
func (x *SignalMetricsInfo) Reset()
func (*SignalMetricsInfo) String ¶
func (x *SignalMetricsInfo) String() string
func (*SignalMetricsInfo) UnmarshalJSON ¶
func (msg *SignalMetricsInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type SignalReading ¶
type SignalReading struct { SignalName string `protobuf:"bytes,1,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SignalReading) DeepCopy ¶
func (in *SignalReading) DeepCopy() *SignalReading
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignalReading. Required by controller-gen.
func (*SignalReading) DeepCopyInterface ¶
func (in *SignalReading) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SignalReading. Required by controller-gen.
func (*SignalReading) DeepCopyInto ¶
func (in *SignalReading) DeepCopyInto(out *SignalReading)
DeepCopyInto supports using SignalReading within kubernetes types, where deepcopy-gen is used.
func (*SignalReading) Descriptor
deprecated
func (*SignalReading) Descriptor() ([]byte, []int)
Deprecated: Use SignalReading.ProtoReflect.Descriptor instead.
func (*SignalReading) GetSignalName ¶
func (x *SignalReading) GetSignalName() string
func (*SignalReading) GetValid ¶
func (x *SignalReading) GetValid() bool
func (*SignalReading) GetValue ¶
func (x *SignalReading) GetValue() float64
func (*SignalReading) MarshalJSON ¶
func (msg *SignalReading) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SignalReading) ProtoMessage ¶
func (*SignalReading) ProtoMessage()
func (*SignalReading) ProtoReflect ¶
func (x *SignalReading) ProtoReflect() protoreflect.Message
func (*SignalReading) Reset ¶
func (x *SignalReading) Reset()
func (*SignalReading) String ¶
func (x *SignalReading) String() string
func (*SignalReading) UnmarshalJSON ¶
func (msg *SignalReading) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type SourceTarget ¶
type SourceTarget struct { ComponentId string `protobuf:"bytes,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"` PortName string `protobuf:"bytes,2,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"` // contains filtered or unexported fields }
SourceTarget describes a link attachment to a component.
func (*SourceTarget) DeepCopy ¶
func (in *SourceTarget) DeepCopy() *SourceTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceTarget. Required by controller-gen.
func (*SourceTarget) DeepCopyInterface ¶
func (in *SourceTarget) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SourceTarget. Required by controller-gen.
func (*SourceTarget) DeepCopyInto ¶
func (in *SourceTarget) DeepCopyInto(out *SourceTarget)
DeepCopyInto supports using SourceTarget within kubernetes types, where deepcopy-gen is used.
func (*SourceTarget) Descriptor
deprecated
func (*SourceTarget) Descriptor() ([]byte, []int)
Deprecated: Use SourceTarget.ProtoReflect.Descriptor instead.
func (*SourceTarget) GetComponentId ¶
func (x *SourceTarget) GetComponentId() string
func (*SourceTarget) GetPortName ¶
func (x *SourceTarget) GetPortName() string
func (*SourceTarget) MarshalJSON ¶
func (msg *SourceTarget) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SourceTarget) ProtoMessage ¶
func (*SourceTarget) ProtoMessage()
func (*SourceTarget) ProtoReflect ¶
func (x *SourceTarget) ProtoReflect() protoreflect.Message
func (*SourceTarget) Reset ¶
func (x *SourceTarget) Reset()
func (*SourceTarget) String ¶
func (x *SourceTarget) String() string
func (*SourceTarget) UnmarshalJSON ¶
func (msg *SourceTarget) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler