Documentation ¶
Index ¶
- Variables
- func RegisterPluginsServer(s grpc.ServiceRegistrar, srv PluginsServer)
- type GetPluginsRequest
- func (in *GetPluginsRequest) DeepCopy() *GetPluginsRequest
- func (in *GetPluginsRequest) DeepCopyInterface() interface{}
- func (in *GetPluginsRequest) DeepCopyInto(out *GetPluginsRequest)
- func (*GetPluginsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetPluginsRequest) ProtoMessage()
- func (x *GetPluginsRequest) ProtoReflect() protoreflect.Message
- func (x *GetPluginsRequest) Reset()
- func (x *GetPluginsRequest) String() string
- type GetPluginsResponse
- func (in *GetPluginsResponse) DeepCopy() *GetPluginsResponse
- func (in *GetPluginsResponse) DeepCopyInterface() interface{}
- func (in *GetPluginsResponse) DeepCopyInto(out *GetPluginsResponse)
- func (*GetPluginsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPluginsResponse) GetPlugins() []*PluginShort
- func (*GetPluginsResponse) ProtoMessage()
- func (x *GetPluginsResponse) ProtoReflect() protoreflect.Message
- func (x *GetPluginsResponse) Reset()
- func (x *GetPluginsResponse) String() string
- type Plugin
- func (in *Plugin) DeepCopy() *Plugin
- func (in *Plugin) DeepCopyInterface() interface{}
- func (in *Plugin) DeepCopyInto(out *Plugin)
- func (*Plugin) Descriptor() ([]byte, []int)deprecated
- func (x *Plugin) GetElasticsearch() *proto2.Spec
- func (x *Plugin) GetJaeger() *proto3.Spec
- func (x *Plugin) GetName() string
- func (x *Plugin) GetPrometheus() *proto1.Spec
- func (*Plugin) ProtoMessage()
- func (x *Plugin) ProtoReflect() protoreflect.Message
- func (x *Plugin) Reset()
- func (x *Plugin) String() string
- type PluginShort
- func (in *PluginShort) DeepCopy() *PluginShort
- func (in *PluginShort) DeepCopyInterface() interface{}
- func (in *PluginShort) DeepCopyInto(out *PluginShort)
- func (*PluginShort) Descriptor() ([]byte, []int)deprecated
- func (x *PluginShort) GetDescription() string
- func (x *PluginShort) GetName() string
- func (x *PluginShort) GetType() string
- func (*PluginShort) ProtoMessage()
- func (x *PluginShort) ProtoReflect() protoreflect.Message
- func (x *PluginShort) Reset()
- func (x *PluginShort) String() string
- type PluginsClient
- type PluginsServer
- type UnimplementedPluginsServer
- type UnsafePluginsServer
Constants ¶
This section is empty.
Variables ¶
var File_plugins_proto protoreflect.FileDescriptor
var Plugins_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugins.Plugins", HandlerType: (*PluginsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPlugins", Handler: _Plugins_GetPlugins_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugins.proto", }
Plugins_ServiceDesc is the grpc.ServiceDesc for Plugins service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPluginsServer ¶
func RegisterPluginsServer(s grpc.ServiceRegistrar, srv PluginsServer)
Types ¶
type GetPluginsRequest ¶
type GetPluginsRequest struct {
// contains filtered or unexported fields
}
GetPluginsRequest is the request to get all loaded plugins via the GetPlugins method.
func (*GetPluginsRequest) DeepCopy ¶
func (in *GetPluginsRequest) DeepCopy() *GetPluginsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPluginsRequest. Required by controller-gen.
func (*GetPluginsRequest) DeepCopyInterface ¶
func (in *GetPluginsRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetPluginsRequest. Required by controller-gen.
func (*GetPluginsRequest) DeepCopyInto ¶
func (in *GetPluginsRequest) DeepCopyInto(out *GetPluginsRequest)
DeepCopyInto supports using GetPluginsRequest within kubernetes types, where deepcopy-gen is used.
func (*GetPluginsRequest) Descriptor
deprecated
func (*GetPluginsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPluginsRequest.ProtoReflect.Descriptor instead.
func (*GetPluginsRequest) ProtoMessage ¶
func (*GetPluginsRequest) ProtoMessage()
func (*GetPluginsRequest) ProtoReflect ¶
func (x *GetPluginsRequest) ProtoReflect() protoreflect.Message
func (*GetPluginsRequest) Reset ¶
func (x *GetPluginsRequest) Reset()
func (*GetPluginsRequest) String ¶
func (x *GetPluginsRequest) String() string
type GetPluginsResponse ¶
type GetPluginsResponse struct { Plugins []*PluginShort `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` // contains filtered or unexported fields }
GetPluginsResponse is the response for a GetPlugins request. It contains a plugins with their name and type.
func (*GetPluginsResponse) DeepCopy ¶
func (in *GetPluginsResponse) DeepCopy() *GetPluginsResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPluginsResponse. Required by controller-gen.
func (*GetPluginsResponse) DeepCopyInterface ¶
func (in *GetPluginsResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetPluginsResponse. Required by controller-gen.
func (*GetPluginsResponse) DeepCopyInto ¶
func (in *GetPluginsResponse) DeepCopyInto(out *GetPluginsResponse)
DeepCopyInto supports using GetPluginsResponse within kubernetes types, where deepcopy-gen is used.
func (*GetPluginsResponse) Descriptor
deprecated
func (*GetPluginsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPluginsResponse.ProtoReflect.Descriptor instead.
func (*GetPluginsResponse) GetPlugins ¶
func (x *GetPluginsResponse) GetPlugins() []*PluginShort
func (*GetPluginsResponse) ProtoMessage ¶
func (*GetPluginsResponse) ProtoMessage()
func (*GetPluginsResponse) ProtoReflect ¶
func (x *GetPluginsResponse) ProtoReflect() protoreflect.Message
func (*GetPluginsResponse) Reset ¶
func (x *GetPluginsResponse) Reset()
func (*GetPluginsResponse) String ¶
func (x *GetPluginsResponse) String() string
type Plugin ¶
type Plugin struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Prometheus *proto1.Spec `protobuf:"bytes,2,opt,name=prometheus,proto3" json:"prometheus,omitempty"` Elasticsearch *proto2.Spec `protobuf:"bytes,3,opt,name=elasticsearch,proto3" json:"elasticsearch,omitempty"` Jaeger *proto3.Spec `protobuf:"bytes,4,opt,name=jaeger,proto3" json:"jaeger,omitempty"` // contains filtered or unexported fields }
Plugin is the plugin formate, which can be used within the Application CR. Each plugin requires a name. The plugin specific fields like "prometheus", "elasticsearch" and "jaeger" are mutually exclusive and containing the data, which is needed to use the plugin within a Application CR.
func (*Plugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin. Required by controller-gen.
func (*Plugin) DeepCopyInterface ¶
func (in *Plugin) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Plugin. Required by controller-gen.
func (*Plugin) DeepCopyInto ¶
DeepCopyInto supports using Plugin within kubernetes types, where deepcopy-gen is used.
func (*Plugin) Descriptor
deprecated
func (*Plugin) GetElasticsearch ¶
func (*Plugin) GetPrometheus ¶
func (*Plugin) ProtoMessage ¶
func (*Plugin) ProtoMessage()
func (*Plugin) ProtoReflect ¶
func (x *Plugin) ProtoReflect() protoreflect.Message
type PluginShort ¶
type PluginShort 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"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
PluginShort represents a single plugin. Each plugin can be identified by his name and type. This is the least necessary data we need in our React UI to associate the name of a plugin with the correct component. As an optional property, a plugin can also have a description.
func (*PluginShort) DeepCopy ¶
func (in *PluginShort) DeepCopy() *PluginShort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginShort. Required by controller-gen.
func (*PluginShort) DeepCopyInterface ¶
func (in *PluginShort) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PluginShort. Required by controller-gen.
func (*PluginShort) DeepCopyInto ¶
func (in *PluginShort) DeepCopyInto(out *PluginShort)
DeepCopyInto supports using PluginShort within kubernetes types, where deepcopy-gen is used.
func (*PluginShort) Descriptor
deprecated
func (*PluginShort) Descriptor() ([]byte, []int)
Deprecated: Use PluginShort.ProtoReflect.Descriptor instead.
func (*PluginShort) GetDescription ¶
func (x *PluginShort) GetDescription() string
func (*PluginShort) GetName ¶
func (x *PluginShort) GetName() string
func (*PluginShort) GetType ¶
func (x *PluginShort) GetType() string
func (*PluginShort) ProtoMessage ¶
func (*PluginShort) ProtoMessage()
func (*PluginShort) ProtoReflect ¶
func (x *PluginShort) ProtoReflect() protoreflect.Message
func (*PluginShort) Reset ¶
func (x *PluginShort) Reset()
func (*PluginShort) String ¶
func (x *PluginShort) String() string
type PluginsClient ¶
type PluginsClient interface {
GetPlugins(ctx context.Context, in *GetPluginsRequest, opts ...grpc.CallOption) (*GetPluginsResponse, error)
}
PluginsClient is the client API for Plugins 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 NewPluginsClient ¶
func NewPluginsClient(cc grpc.ClientConnInterface) PluginsClient
type PluginsServer ¶
type PluginsServer interface { GetPlugins(context.Context, *GetPluginsRequest) (*GetPluginsResponse, error) // contains filtered or unexported methods }
PluginsServer is the server API for Plugins service. All implementations must embed UnimplementedPluginsServer for forward compatibility
type UnimplementedPluginsServer ¶
type UnimplementedPluginsServer struct { }
UnimplementedPluginsServer must be embedded to have forward compatible implementations.
func (UnimplementedPluginsServer) GetPlugins ¶
func (UnimplementedPluginsServer) GetPlugins(context.Context, *GetPluginsRequest) (*GetPluginsResponse, error)
type UnsafePluginsServer ¶
type UnsafePluginsServer interface {
// contains filtered or unexported methods
}
UnsafePluginsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginsServer will result in compilation errors.