Documentation
¶
Index ¶
- Variables
- func NewConfigClient(options *Options) (config_client.IConfigClient, error)
- func NewConfigClients(config *Config) *lazyloadx.Group[config_client.IConfigClient]
- func NewNamingClient(options *Options) (naming_client.INamingClient, error)
- func NewNamingClients(config *Config) *lazyloadx.Group[naming_client.INamingClient]
- type Config
- type Options
- func (*Options) Descriptor() ([]byte, []int)deprecated
- func (x *Options) GetAddress() *wrapperspb.StringValue
- func (x *Options) GetNamespace() *wrapperspb.StringValue
- func (x *Options) GetPort() *wrapperspb.Int32Value
- func (*Options) ProtoMessage()
- func (x *Options) ProtoReflect() protoreflect.Message
- func (x *Options) Reset()
- func (x *Options) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_nacosx_config_proto protoreflect.FileDescriptor
View Source
var Provider = wire.NewSet( NewConfigClients, NewRegistryClients, )
Functions ¶
func NewConfigClient ¶
func NewConfigClient(options *Options) (config_client.IConfigClient, error)
func NewConfigClients ¶
func NewConfigClients(config *Config) *lazyloadx.Group[config_client.IConfigClient]
func NewNamingClient ¶ added in v0.0.2
func NewNamingClient(options *Options) (naming_client.INamingClient, error)
func NewNamingClients ¶ added in v0.0.2
func NewNamingClients(config *Config) *lazyloadx.Group[naming_client.INamingClient]
Types ¶
type Config ¶
type Config struct {
Configs map[string]*Options `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Config) Descriptor
deprecated
added in
v0.0.2
func (*Config) GetConfigs ¶ added in v0.0.2
func (*Config) ProtoMessage ¶ added in v0.0.2
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v0.0.2
func (x *Config) ProtoReflect() protoreflect.Message
type Options ¶ added in v0.0.2
type Options struct {
Address *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Port *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
Namespace *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*Options) Descriptor
deprecated
added in
v0.0.2
func (*Options) GetAddress ¶ added in v0.0.2
func (x *Options) GetAddress() *wrapperspb.StringValue
func (*Options) GetNamespace ¶ added in v0.0.2
func (x *Options) GetNamespace() *wrapperspb.StringValue
func (*Options) GetPort ¶ added in v0.0.2
func (x *Options) GetPort() *wrapperspb.Int32Value
func (*Options) ProtoMessage ¶ added in v0.0.2
func (*Options) ProtoMessage()
func (*Options) ProtoReflect ¶ added in v0.0.2
func (x *Options) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.