Documentation
¶
Overview ¶
Package components is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterComponentsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterComponentsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ComponentsClient) error
- func RegisterComponentsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterComponentsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ComponentsServer) error
- func RegisterComponentsServer(s grpc.ServiceRegistrar, srv ComponentsServer)
- type AppInstallationRef
- func (*AppInstallationRef) Descriptor() ([]byte, []int)deprecated
- func (x *AppInstallationRef) GetId() string
- func (x *AppInstallationRef) GetName() string
- func (*AppInstallationRef) ProtoMessage()
- func (x *AppInstallationRef) ProtoReflect() protoreflect.Message
- func (x *AppInstallationRef) Reset()
- func (x *AppInstallationRef) String() string
- type Component
- func (*Component) Descriptor() ([]byte, []int)deprecated
- func (x *Component) GetColor() string
- func (x *Component) GetConfiguration() []*configuration.Field
- func (x *Component) GetDescription() string
- func (x *Component) GetIcon() string
- func (x *Component) GetLabel() string
- func (x *Component) GetName() string
- func (x *Component) GetOutputChannels() []*OutputChannel
- func (*Component) ProtoMessage()
- func (x *Component) ProtoReflect() protoreflect.Message
- func (x *Component) Reset()
- func (x *Component) String() string
- type ComponentAction
- func (*ComponentAction) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentAction) GetDescription() string
- func (x *ComponentAction) GetName() string
- func (x *ComponentAction) GetParameters() []*configuration.Field
- func (*ComponentAction) ProtoMessage()
- func (x *ComponentAction) ProtoReflect() protoreflect.Message
- func (x *ComponentAction) Reset()
- func (x *ComponentAction) String() string
- type ComponentsClient
- type ComponentsServer
- type DescribeComponentRequest
- func (*DescribeComponentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeComponentRequest) GetName() string
- func (*DescribeComponentRequest) ProtoMessage()
- func (x *DescribeComponentRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeComponentRequest) Reset()
- func (x *DescribeComponentRequest) String() string
- type DescribeComponentResponse
- func (*DescribeComponentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeComponentResponse) GetComponent() *Component
- func (*DescribeComponentResponse) ProtoMessage()
- func (x *DescribeComponentResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeComponentResponse) Reset()
- func (x *DescribeComponentResponse) String() string
- type Edge
- type ListComponentActionsRequest
- func (*ListComponentActionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListComponentActionsRequest) GetName() string
- func (*ListComponentActionsRequest) ProtoMessage()
- func (x *ListComponentActionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListComponentActionsRequest) Reset()
- func (x *ListComponentActionsRequest) String() string
- type ListComponentActionsResponse
- func (*ListComponentActionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListComponentActionsResponse) GetActions() []*ComponentAction
- func (*ListComponentActionsResponse) ProtoMessage()
- func (x *ListComponentActionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListComponentActionsResponse) Reset()
- func (x *ListComponentActionsResponse) String() string
- type ListComponentsRequest
- type ListComponentsResponse
- func (*ListComponentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListComponentsResponse) GetComponents() []*Component
- func (*ListComponentsResponse) ProtoMessage()
- func (x *ListComponentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListComponentsResponse) Reset()
- func (x *ListComponentsResponse) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAppInstallation() *AppInstallationRef
- func (x *Node) GetBlueprint() *Node_BlueprintRef
- func (x *Node) GetComponent() *Node_ComponentRef
- func (x *Node) GetConfiguration() *_struct.Struct
- func (x *Node) GetErrorMessage() string
- func (x *Node) GetId() string
- func (x *Node) GetIsCollapsed() bool
- func (x *Node) GetMetadata() *_struct.Struct
- func (x *Node) GetName() string
- func (x *Node) GetPosition() *Position
- func (x *Node) GetTrigger() *Node_TriggerRef
- func (x *Node) GetType() Node_Type
- func (x *Node) GetWidget() *Node_WidgetRef
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type Node_BlueprintRef
- type Node_ComponentRef
- type Node_TriggerRef
- type Node_Type
- type Node_WidgetRef
- type NotificationEmailRequested
- func (*NotificationEmailRequested) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationEmailRequested) GetBody() string
- func (x *NotificationEmailRequested) GetEmails() []string
- func (x *NotificationEmailRequested) GetGroups() []string
- func (x *NotificationEmailRequested) GetOrganizationId() string
- func (x *NotificationEmailRequested) GetRoles() []string
- func (x *NotificationEmailRequested) GetTimestamp() *timestamp.Timestamp
- func (x *NotificationEmailRequested) GetTitle() string
- func (x *NotificationEmailRequested) GetUrl() string
- func (x *NotificationEmailRequested) GetUrlLabel() string
- func (*NotificationEmailRequested) ProtoMessage()
- func (x *NotificationEmailRequested) ProtoReflect() protoreflect.Message
- func (x *NotificationEmailRequested) Reset()
- func (x *NotificationEmailRequested) String() string
- type OutputChannel
- func (*OutputChannel) Descriptor() ([]byte, []int)deprecated
- func (x *OutputChannel) GetDescription() string
- func (x *OutputChannel) GetLabel() string
- func (x *OutputChannel) GetName() string
- func (*OutputChannel) ProtoMessage()
- func (x *OutputChannel) ProtoReflect() protoreflect.Message
- func (x *OutputChannel) Reset()
- func (x *OutputChannel) String() string
- type Position
- type UnimplementedComponentsServer
- func (UnimplementedComponentsServer) DescribeComponent(context.Context, *DescribeComponentRequest) (*DescribeComponentResponse, error)
- func (UnimplementedComponentsServer) ListComponentActions(context.Context, *ListComponentActionsRequest) (*ListComponentActionsResponse, error)
- func (UnimplementedComponentsServer) ListComponents(context.Context, *ListComponentsRequest) (*ListComponentsResponse, error)
- type UnsafeComponentsServer
Constants ¶
const ( Components_ListComponents_FullMethodName = "/Superplane.Components.Components/ListComponents" Components_DescribeComponent_FullMethodName = "/Superplane.Components.Components/DescribeComponent" Components_ListComponentActions_FullMethodName = "/Superplane.Components.Components/ListComponentActions" )
Variables ¶
var ( Node_Type_name = map[int32]string{ 0: "TYPE_COMPONENT", 1: "TYPE_BLUEPRINT", 2: "TYPE_TRIGGER", 3: "TYPE_WIDGET", } Node_Type_value = map[string]int32{ "TYPE_COMPONENT": 0, "TYPE_BLUEPRINT": 1, "TYPE_TRIGGER": 2, "TYPE_WIDGET": 3, } )
Enum value maps for Node_Type.
var Components_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Superplane.Components.Components", HandlerType: (*ComponentsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListComponents", Handler: _Components_ListComponents_Handler, }, { MethodName: "DescribeComponent", Handler: _Components_DescribeComponent_Handler, }, { MethodName: "ListComponentActions", Handler: _Components_ListComponentActions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "components.proto", }
Components_ServiceDesc is the grpc.ServiceDesc for Components service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_components_proto protoreflect.FileDescriptor
Functions ¶
func RegisterComponentsHandler ¶
func RegisterComponentsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterComponentsHandler registers the http handlers for service Components to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterComponentsHandlerClient ¶
func RegisterComponentsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ComponentsClient) error
RegisterComponentsHandlerClient registers the http handlers for service Components to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ComponentsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ComponentsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ComponentsClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterComponentsHandlerFromEndpoint ¶
func RegisterComponentsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterComponentsHandlerFromEndpoint is same as RegisterComponentsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterComponentsHandlerServer ¶
func RegisterComponentsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ComponentsServer) error
RegisterComponentsHandlerServer registers the http handlers for service Components to "mux". UnaryRPC :call ComponentsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterComponentsHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterComponentsServer ¶
func RegisterComponentsServer(s grpc.ServiceRegistrar, srv ComponentsServer)
Types ¶
type AppInstallationRef ¶
type AppInstallationRef struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*AppInstallationRef) Descriptor
deprecated
func (*AppInstallationRef) Descriptor() ([]byte, []int)
Deprecated: Use AppInstallationRef.ProtoReflect.Descriptor instead.
func (*AppInstallationRef) GetId ¶
func (x *AppInstallationRef) GetId() string
func (*AppInstallationRef) GetName ¶
func (x *AppInstallationRef) GetName() string
func (*AppInstallationRef) ProtoMessage ¶
func (*AppInstallationRef) ProtoMessage()
func (*AppInstallationRef) ProtoReflect ¶
func (x *AppInstallationRef) ProtoReflect() protoreflect.Message
func (*AppInstallationRef) Reset ¶
func (x *AppInstallationRef) Reset()
func (*AppInstallationRef) String ¶
func (x *AppInstallationRef) String() string
type Component ¶
type Component struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Configuration []*configuration.Field `protobuf:"bytes,4,rep,name=configuration,proto3" json:"configuration,omitempty"`
OutputChannels []*OutputChannel `protobuf:"bytes,5,rep,name=output_channels,json=outputChannels,proto3" json:"output_channels,omitempty"`
Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`
Color string `protobuf:"bytes,7,opt,name=color,proto3" json:"color,omitempty"`
// contains filtered or unexported fields
}
func (*Component) Descriptor
deprecated
func (*Component) GetConfiguration ¶
func (x *Component) GetConfiguration() []*configuration.Field
func (*Component) GetDescription ¶
func (*Component) GetOutputChannels ¶
func (x *Component) GetOutputChannels() []*OutputChannel
func (*Component) ProtoMessage ¶
func (*Component) ProtoMessage()
func (*Component) ProtoReflect ¶
func (x *Component) ProtoReflect() protoreflect.Message
type ComponentAction ¶
type ComponentAction struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Parameters []*configuration.Field `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}
func (*ComponentAction) Descriptor
deprecated
func (*ComponentAction) Descriptor() ([]byte, []int)
Deprecated: Use ComponentAction.ProtoReflect.Descriptor instead.
func (*ComponentAction) GetDescription ¶
func (x *ComponentAction) GetDescription() string
func (*ComponentAction) GetName ¶
func (x *ComponentAction) GetName() string
func (*ComponentAction) GetParameters ¶
func (x *ComponentAction) GetParameters() []*configuration.Field
func (*ComponentAction) ProtoMessage ¶
func (*ComponentAction) ProtoMessage()
func (*ComponentAction) ProtoReflect ¶
func (x *ComponentAction) ProtoReflect() protoreflect.Message
func (*ComponentAction) Reset ¶
func (x *ComponentAction) Reset()
func (*ComponentAction) String ¶
func (x *ComponentAction) String() string
type ComponentsClient ¶
type ComponentsClient interface {
ListComponents(ctx context.Context, in *ListComponentsRequest, opts ...grpc.CallOption) (*ListComponentsResponse, error)
DescribeComponent(ctx context.Context, in *DescribeComponentRequest, opts ...grpc.CallOption) (*DescribeComponentResponse, error)
ListComponentActions(ctx context.Context, in *ListComponentActionsRequest, opts ...grpc.CallOption) (*ListComponentActionsResponse, error)
}
ComponentsClient is the client API for Components 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 NewComponentsClient ¶
func NewComponentsClient(cc grpc.ClientConnInterface) ComponentsClient
type ComponentsServer ¶
type ComponentsServer interface {
ListComponents(context.Context, *ListComponentsRequest) (*ListComponentsResponse, error)
DescribeComponent(context.Context, *DescribeComponentRequest) (*DescribeComponentResponse, error)
ListComponentActions(context.Context, *ListComponentActionsRequest) (*ListComponentActionsResponse, error)
}
ComponentsServer is the server API for Components service. All implementations should embed UnimplementedComponentsServer for forward compatibility.
type DescribeComponentRequest ¶
type DescribeComponentRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeComponentRequest) Descriptor
deprecated
func (*DescribeComponentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeComponentRequest.ProtoReflect.Descriptor instead.
func (*DescribeComponentRequest) GetName ¶
func (x *DescribeComponentRequest) GetName() string
func (*DescribeComponentRequest) ProtoMessage ¶
func (*DescribeComponentRequest) ProtoMessage()
func (*DescribeComponentRequest) ProtoReflect ¶
func (x *DescribeComponentRequest) ProtoReflect() protoreflect.Message
func (*DescribeComponentRequest) Reset ¶
func (x *DescribeComponentRequest) Reset()
func (*DescribeComponentRequest) String ¶
func (x *DescribeComponentRequest) String() string
type DescribeComponentResponse ¶
type DescribeComponentResponse struct {
Component *Component `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeComponentResponse) Descriptor
deprecated
func (*DescribeComponentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeComponentResponse.ProtoReflect.Descriptor instead.
func (*DescribeComponentResponse) GetComponent ¶
func (x *DescribeComponentResponse) GetComponent() *Component
func (*DescribeComponentResponse) ProtoMessage ¶
func (*DescribeComponentResponse) ProtoMessage()
func (*DescribeComponentResponse) ProtoReflect ¶
func (x *DescribeComponentResponse) ProtoReflect() protoreflect.Message
func (*DescribeComponentResponse) Reset ¶
func (x *DescribeComponentResponse) Reset()
func (*DescribeComponentResponse) String ¶
func (x *DescribeComponentResponse) String() string
type Edge ¶
type Edge struct {
SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
// contains filtered or unexported fields
}
func (*Edge) Descriptor
deprecated
func (*Edge) GetChannel ¶
func (*Edge) GetSourceId ¶
func (*Edge) GetTargetId ¶
func (*Edge) ProtoMessage ¶
func (*Edge) ProtoMessage()
func (*Edge) ProtoReflect ¶
func (x *Edge) ProtoReflect() protoreflect.Message
type ListComponentActionsRequest ¶
type ListComponentActionsRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ListComponentActionsRequest) Descriptor
deprecated
func (*ListComponentActionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentActionsRequest.ProtoReflect.Descriptor instead.
func (*ListComponentActionsRequest) GetName ¶
func (x *ListComponentActionsRequest) GetName() string
func (*ListComponentActionsRequest) ProtoMessage ¶
func (*ListComponentActionsRequest) ProtoMessage()
func (*ListComponentActionsRequest) ProtoReflect ¶
func (x *ListComponentActionsRequest) ProtoReflect() protoreflect.Message
func (*ListComponentActionsRequest) Reset ¶
func (x *ListComponentActionsRequest) Reset()
func (*ListComponentActionsRequest) String ¶
func (x *ListComponentActionsRequest) String() string
type ListComponentActionsResponse ¶
type ListComponentActionsResponse struct {
Actions []*ComponentAction `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
func (*ListComponentActionsResponse) Descriptor
deprecated
func (*ListComponentActionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentActionsResponse.ProtoReflect.Descriptor instead.
func (*ListComponentActionsResponse) GetActions ¶
func (x *ListComponentActionsResponse) GetActions() []*ComponentAction
func (*ListComponentActionsResponse) ProtoMessage ¶
func (*ListComponentActionsResponse) ProtoMessage()
func (*ListComponentActionsResponse) ProtoReflect ¶
func (x *ListComponentActionsResponse) ProtoReflect() protoreflect.Message
func (*ListComponentActionsResponse) Reset ¶
func (x *ListComponentActionsResponse) Reset()
func (*ListComponentActionsResponse) String ¶
func (x *ListComponentActionsResponse) String() string
type ListComponentsRequest ¶
type ListComponentsRequest struct {
// contains filtered or unexported fields
}
func (*ListComponentsRequest) Descriptor
deprecated
func (*ListComponentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentsRequest.ProtoReflect.Descriptor instead.
func (*ListComponentsRequest) ProtoMessage ¶
func (*ListComponentsRequest) ProtoMessage()
func (*ListComponentsRequest) ProtoReflect ¶
func (x *ListComponentsRequest) ProtoReflect() protoreflect.Message
func (*ListComponentsRequest) Reset ¶
func (x *ListComponentsRequest) Reset()
func (*ListComponentsRequest) String ¶
func (x *ListComponentsRequest) String() string
type ListComponentsResponse ¶
type ListComponentsResponse struct {
Components []*Component `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
// contains filtered or unexported fields
}
func (*ListComponentsResponse) Descriptor
deprecated
func (*ListComponentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentsResponse.ProtoReflect.Descriptor instead.
func (*ListComponentsResponse) GetComponents ¶
func (x *ListComponentsResponse) GetComponents() []*Component
func (*ListComponentsResponse) ProtoMessage ¶
func (*ListComponentsResponse) ProtoMessage()
func (*ListComponentsResponse) ProtoReflect ¶
func (x *ListComponentsResponse) ProtoReflect() protoreflect.Message
func (*ListComponentsResponse) Reset ¶
func (x *ListComponentsResponse) Reset()
func (*ListComponentsResponse) String ¶
func (x *ListComponentsResponse) String() string
type Node ¶
type Node struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Type Node_Type `protobuf:"varint,3,opt,name=type,proto3,enum=Superplane.Components.Node_Type" json:"type,omitempty"`
Configuration *_struct.Struct `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"`
Metadata *_struct.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
Position *Position `protobuf:"bytes,6,opt,name=position,proto3" json:"position,omitempty"`
Component *Node_ComponentRef `protobuf:"bytes,7,opt,name=component,proto3" json:"component,omitempty"`
Blueprint *Node_BlueprintRef `protobuf:"bytes,8,opt,name=blueprint,proto3" json:"blueprint,omitempty"`
Trigger *Node_TriggerRef `protobuf:"bytes,9,opt,name=trigger,proto3" json:"trigger,omitempty"`
Widget *Node_WidgetRef `protobuf:"bytes,10,opt,name=widget,proto3" json:"widget,omitempty"`
IsCollapsed bool `protobuf:"varint,11,opt,name=is_collapsed,json=isCollapsed,proto3" json:"is_collapsed,omitempty"`
AppInstallation *AppInstallationRef `protobuf:"bytes,12,opt,name=app_installation,json=appInstallation,proto3" json:"app_installation,omitempty"`
ErrorMessage string `protobuf:"bytes,13,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
func (*Node) Descriptor
deprecated
func (*Node) GetAppInstallation ¶
func (x *Node) GetAppInstallation() *AppInstallationRef
func (*Node) GetBlueprint ¶
func (x *Node) GetBlueprint() *Node_BlueprintRef
func (*Node) GetComponent ¶
func (x *Node) GetComponent() *Node_ComponentRef
func (*Node) GetConfiguration ¶
func (*Node) GetErrorMessage ¶
func (*Node) GetIsCollapsed ¶
func (*Node) GetMetadata ¶
func (*Node) GetPosition ¶
func (*Node) GetTrigger ¶
func (x *Node) GetTrigger() *Node_TriggerRef
func (*Node) GetWidget ¶ added in v0.0.18
func (x *Node) GetWidget() *Node_WidgetRef
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Node_BlueprintRef ¶
type Node_BlueprintRef struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*Node_BlueprintRef) Descriptor
deprecated
func (*Node_BlueprintRef) Descriptor() ([]byte, []int)
Deprecated: Use Node_BlueprintRef.ProtoReflect.Descriptor instead.
func (*Node_BlueprintRef) GetId ¶
func (x *Node_BlueprintRef) GetId() string
func (*Node_BlueprintRef) ProtoMessage ¶
func (*Node_BlueprintRef) ProtoMessage()
func (*Node_BlueprintRef) ProtoReflect ¶
func (x *Node_BlueprintRef) ProtoReflect() protoreflect.Message
func (*Node_BlueprintRef) Reset ¶
func (x *Node_BlueprintRef) Reset()
func (*Node_BlueprintRef) String ¶
func (x *Node_BlueprintRef) String() string
type Node_ComponentRef ¶
type Node_ComponentRef struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*Node_ComponentRef) Descriptor
deprecated
func (*Node_ComponentRef) Descriptor() ([]byte, []int)
Deprecated: Use Node_ComponentRef.ProtoReflect.Descriptor instead.
func (*Node_ComponentRef) GetName ¶
func (x *Node_ComponentRef) GetName() string
func (*Node_ComponentRef) ProtoMessage ¶
func (*Node_ComponentRef) ProtoMessage()
func (*Node_ComponentRef) ProtoReflect ¶
func (x *Node_ComponentRef) ProtoReflect() protoreflect.Message
func (*Node_ComponentRef) Reset ¶
func (x *Node_ComponentRef) Reset()
func (*Node_ComponentRef) String ¶
func (x *Node_ComponentRef) String() string
type Node_TriggerRef ¶
type Node_TriggerRef struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*Node_TriggerRef) Descriptor
deprecated
func (*Node_TriggerRef) Descriptor() ([]byte, []int)
Deprecated: Use Node_TriggerRef.ProtoReflect.Descriptor instead.
func (*Node_TriggerRef) GetName ¶
func (x *Node_TriggerRef) GetName() string
func (*Node_TriggerRef) ProtoMessage ¶
func (*Node_TriggerRef) ProtoMessage()
func (*Node_TriggerRef) ProtoReflect ¶
func (x *Node_TriggerRef) ProtoReflect() protoreflect.Message
func (*Node_TriggerRef) Reset ¶
func (x *Node_TriggerRef) Reset()
func (*Node_TriggerRef) String ¶
func (x *Node_TriggerRef) String() string
type Node_Type ¶
type Node_Type int32
func (Node_Type) Descriptor ¶
func (Node_Type) Descriptor() protoreflect.EnumDescriptor
func (Node_Type) EnumDescriptor
deprecated
func (Node_Type) Number ¶
func (x Node_Type) Number() protoreflect.EnumNumber
func (Node_Type) Type ¶
func (Node_Type) Type() protoreflect.EnumType
type Node_WidgetRef ¶ added in v0.0.18
type Node_WidgetRef struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*Node_WidgetRef) Descriptor
deprecated
added in
v0.0.18
func (*Node_WidgetRef) Descriptor() ([]byte, []int)
Deprecated: Use Node_WidgetRef.ProtoReflect.Descriptor instead.
func (*Node_WidgetRef) GetName ¶ added in v0.0.18
func (x *Node_WidgetRef) GetName() string
func (*Node_WidgetRef) ProtoMessage ¶ added in v0.0.18
func (*Node_WidgetRef) ProtoMessage()
func (*Node_WidgetRef) ProtoReflect ¶ added in v0.0.18
func (x *Node_WidgetRef) ProtoReflect() protoreflect.Message
func (*Node_WidgetRef) Reset ¶ added in v0.0.18
func (x *Node_WidgetRef) Reset()
func (*Node_WidgetRef) String ¶ added in v0.0.18
func (x *Node_WidgetRef) String() string
type NotificationEmailRequested ¶ added in v0.0.43
type NotificationEmailRequested struct {
OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
UrlLabel string `protobuf:"bytes,5,opt,name=url_label,json=urlLabel,proto3" json:"url_label,omitempty"`
Emails []string `protobuf:"bytes,6,rep,name=emails,proto3" json:"emails,omitempty"`
Groups []string `protobuf:"bytes,7,rep,name=groups,proto3" json:"groups,omitempty"`
Roles []string `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"`
Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
Event message for component-triggered notifications.
func (*NotificationEmailRequested) Descriptor
deprecated
added in
v0.0.43
func (*NotificationEmailRequested) Descriptor() ([]byte, []int)
Deprecated: Use NotificationEmailRequested.ProtoReflect.Descriptor instead.
func (*NotificationEmailRequested) GetBody ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetBody() string
func (*NotificationEmailRequested) GetEmails ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetEmails() []string
func (*NotificationEmailRequested) GetGroups ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetGroups() []string
func (*NotificationEmailRequested) GetOrganizationId ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetOrganizationId() string
func (*NotificationEmailRequested) GetRoles ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetRoles() []string
func (*NotificationEmailRequested) GetTimestamp ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetTimestamp() *timestamp.Timestamp
func (*NotificationEmailRequested) GetTitle ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetTitle() string
func (*NotificationEmailRequested) GetUrl ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetUrl() string
func (*NotificationEmailRequested) GetUrlLabel ¶ added in v0.0.43
func (x *NotificationEmailRequested) GetUrlLabel() string
func (*NotificationEmailRequested) ProtoMessage ¶ added in v0.0.43
func (*NotificationEmailRequested) ProtoMessage()
func (*NotificationEmailRequested) ProtoReflect ¶ added in v0.0.43
func (x *NotificationEmailRequested) ProtoReflect() protoreflect.Message
func (*NotificationEmailRequested) Reset ¶ added in v0.0.43
func (x *NotificationEmailRequested) Reset()
func (*NotificationEmailRequested) String ¶ added in v0.0.43
func (x *NotificationEmailRequested) String() string
type OutputChannel ¶
type OutputChannel struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*OutputChannel) Descriptor
deprecated
func (*OutputChannel) Descriptor() ([]byte, []int)
Deprecated: Use OutputChannel.ProtoReflect.Descriptor instead.
func (*OutputChannel) GetDescription ¶
func (x *OutputChannel) GetDescription() string
func (*OutputChannel) GetLabel ¶
func (x *OutputChannel) GetLabel() string
func (*OutputChannel) GetName ¶
func (x *OutputChannel) GetName() string
func (*OutputChannel) ProtoMessage ¶
func (*OutputChannel) ProtoMessage()
func (*OutputChannel) ProtoReflect ¶
func (x *OutputChannel) ProtoReflect() protoreflect.Message
func (*OutputChannel) Reset ¶
func (x *OutputChannel) Reset()
func (*OutputChannel) String ¶
func (x *OutputChannel) String() string
type Position ¶
type Position struct {
X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
// contains filtered or unexported fields
}
func (*Position) Descriptor
deprecated
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
type UnimplementedComponentsServer ¶
type UnimplementedComponentsServer struct{}
UnimplementedComponentsServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedComponentsServer) DescribeComponent ¶
func (UnimplementedComponentsServer) DescribeComponent(context.Context, *DescribeComponentRequest) (*DescribeComponentResponse, error)
func (UnimplementedComponentsServer) ListComponentActions ¶
func (UnimplementedComponentsServer) ListComponentActions(context.Context, *ListComponentActionsRequest) (*ListComponentActionsResponse, error)
func (UnimplementedComponentsServer) ListComponents ¶
func (UnimplementedComponentsServer) ListComponents(context.Context, *ListComponentsRequest) (*ListComponentsResponse, error)
type UnsafeComponentsServer ¶
type UnsafeComponentsServer interface {
// contains filtered or unexported methods
}
UnsafeComponentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ComponentsServer will result in compilation errors.