Documentation ¶
Index ¶
- Constants
- Variables
- type SingleConfig
- func (*SingleConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SingleConfig) GetApp() *protos.AppConfig
- func (x *SingleConfig) GetListeners() map[string]*SingleConfig_ListenerOptions
- func (*SingleConfig) ProtoMessage()
- func (x *SingleConfig) ProtoReflect() protoreflect.Message
- func (x *SingleConfig) Reset()
- func (x *SingleConfig) String() string
- type SingleConfig_AntipodeAgentOptions
- func (x *SingleConfig_AntipodeAgentOptions) GetDatastore() string
- func (x *SingleConfig_AntipodeAgentOptions) GetDatastoreType() string
- func (x *SingleConfig_AntipodeAgentOptions) GetHost() string
- func (x *SingleConfig_AntipodeAgentOptions) GetPassword() string
- func (x *SingleConfig_AntipodeAgentOptions) GetPort() string
- func (x *SingleConfig_AntipodeAgentOptions) GetQueue() string
- func (x *SingleConfig_AntipodeAgentOptions) GetUser() string
- func (*SingleConfig_AntipodeAgentOptions) ProtoMessage()
- func (x *SingleConfig_AntipodeAgentOptions) ProtoReflect() protoreflect.Message
- func (x *SingleConfig_AntipodeAgentOptions) Reset()
- func (x *SingleConfig_AntipodeAgentOptions) String() string
- type SingleConfig_ListenerOptions
- func (*SingleConfig_ListenerOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SingleConfig_ListenerOptions) GetAddress() string
- func (*SingleConfig_ListenerOptions) ProtoMessage()
- func (x *SingleConfig_ListenerOptions) ProtoReflect() protoreflect.Message
- func (x *SingleConfig_ListenerOptions) Reset()
- func (x *SingleConfig_ListenerOptions) String() string
Constants ¶
View Source
const ( ConfigKey = "github.com/TiagoMalhadas/xcweaver/single" ShortConfigKey = "single" )
Variables ¶
View Source
var ( RegistryDir = filepath.Join(dataDir, "registry") PerfettoFile = filepath.Join(dataDir, "traces.DB") Commands = map[string]*tool.Command{ "deploy": &deployCmd, "status": status.StatusCommand("weaver single", defaultRegistry), "dashboard": status.DashboardCommand(dashboardSpec), "metrics": status.MetricsCommand("weaver single", defaultRegistry), "profile": status.ProfileCommand("weaver single", defaultRegistry), "purge": tool.PurgeCmd(purgeSpec), "version": itool.VersionCmd("weaver single"), } )
View Source
var File_internal_tool_single_single_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SingleConfig ¶
type SingleConfig struct { // Application config. App *protos.AppConfig `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` Listeners map[string]*SingleConfig_ListenerOptions `` /* 159-byte string literal not displayed */ AntipodeAgents map[string]*SingleConfig_AntipodeAgentOptions `` /* 169-byte string literal not displayed */ // contains filtered or unexported fields }
SingleConfig stores the configuration information for one execution of a Service Weaver application using the singleprocess deployer.
func (*SingleConfig) Descriptor
deprecated
func (*SingleConfig) Descriptor() ([]byte, []int)
Deprecated: Use SingleConfig.ProtoReflect.Descriptor instead.
func (*SingleConfig) GetApp ¶
func (x *SingleConfig) GetApp() *protos.AppConfig
func (*SingleConfig) GetListeners ¶
func (x *SingleConfig) GetListeners() map[string]*SingleConfig_ListenerOptions
func (*SingleConfig) ProtoMessage ¶
func (*SingleConfig) ProtoMessage()
func (*SingleConfig) ProtoReflect ¶
func (x *SingleConfig) ProtoReflect() protoreflect.Message
func (*SingleConfig) Reset ¶
func (x *SingleConfig) Reset()
func (*SingleConfig) String ¶
func (x *SingleConfig) String() string
type SingleConfig_AntipodeAgentOptions ¶ added in v0.3.24
type SingleConfig_AntipodeAgentOptions struct { // Info of the antipode agent. DatastoreType string `protobuf:"bytes,1,opt,name=datastoreType,proto3" json:"datastoreType,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Port string `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` Datastore string `protobuf:"bytes,6,opt,name=datastore,proto3" json:"datastore,omitempty"` Queue string `protobuf:"bytes,7,opt,name=queue,proto3" json:"queue,omitempty"` // contains filtered or unexported fields }
Options for the application antipode agents, keyed by antipode agents name. If an antipode agent isn't specified in the map, default options will be used.
func (*SingleConfig_AntipodeAgentOptions) GetDatastore ¶ added in v0.3.24
func (x *SingleConfig_AntipodeAgentOptions) GetDatastore() string
func (*SingleConfig_AntipodeAgentOptions) GetDatastoreType ¶ added in v0.3.24
func (x *SingleConfig_AntipodeAgentOptions) GetDatastoreType() string
func (*SingleConfig_AntipodeAgentOptions) GetHost ¶ added in v0.3.24
func (x *SingleConfig_AntipodeAgentOptions) GetHost() string
func (*SingleConfig_AntipodeAgentOptions) GetPassword ¶ added in v0.3.24
func (x *SingleConfig_AntipodeAgentOptions) GetPassword() string
func (*SingleConfig_AntipodeAgentOptions) GetPort ¶ added in v0.3.24
func (x *SingleConfig_AntipodeAgentOptions) GetPort() string
func (*SingleConfig_AntipodeAgentOptions) GetQueue ¶ added in v0.4.2
func (x *SingleConfig_AntipodeAgentOptions) GetQueue() string
func (*SingleConfig_AntipodeAgentOptions) GetUser ¶ added in v0.4.2
func (x *SingleConfig_AntipodeAgentOptions) GetUser() string
func (*SingleConfig_AntipodeAgentOptions) ProtoMessage ¶ added in v0.3.24
func (*SingleConfig_AntipodeAgentOptions) ProtoMessage()
func (*SingleConfig_AntipodeAgentOptions) ProtoReflect ¶ added in v0.3.24
func (x *SingleConfig_AntipodeAgentOptions) ProtoReflect() protoreflect.Message
func (*SingleConfig_AntipodeAgentOptions) Reset ¶ added in v0.3.24
func (x *SingleConfig_AntipodeAgentOptions) Reset()
func (*SingleConfig_AntipodeAgentOptions) String ¶ added in v0.3.24
func (x *SingleConfig_AntipodeAgentOptions) String() string
type SingleConfig_ListenerOptions ¶
type SingleConfig_ListenerOptions struct { // Address of the listener. The value must have the form :port or // host:port, or it may be the empty string, which is treated as ":0". Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
Options for the application listeners, keyed by listener name. If a listener isn't specified in the map, default options will be used.
func (*SingleConfig_ListenerOptions) Descriptor
deprecated
func (*SingleConfig_ListenerOptions) Descriptor() ([]byte, []int)
Deprecated: Use SingleConfig_ListenerOptions.ProtoReflect.Descriptor instead.
func (*SingleConfig_ListenerOptions) GetAddress ¶
func (x *SingleConfig_ListenerOptions) GetAddress() string
func (*SingleConfig_ListenerOptions) ProtoMessage ¶
func (*SingleConfig_ListenerOptions) ProtoMessage()
func (*SingleConfig_ListenerOptions) ProtoReflect ¶
func (x *SingleConfig_ListenerOptions) ProtoReflect() protoreflect.Message
func (*SingleConfig_ListenerOptions) Reset ¶
func (x *SingleConfig_ListenerOptions) Reset()
func (*SingleConfig_ListenerOptions) String ¶
func (x *SingleConfig_ListenerOptions) String() string
Click to show internal directories.
Click to hide internal directories.