Documentation
¶
Index ¶
- Variables
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetClients() *v11.Clients
- func (x *Bootstrap) GetDiscoveries() map[string]*v1.Discovery
- func (x *Bootstrap) GetMiddlewares() *v12.Middlewares
- func (x *Bootstrap) GetRegistrationDiscoveryName() string
- func (x *Bootstrap) GetServers() []*v11.Server
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_integration_app_proto_bootstrap_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
type Bootstrap struct {
// Discovery configuration pool.
Discoveries map[string]*v1.Discovery `` /* 149-byte string literal not displayed */
// Name of the discovery configuration used for service registration.
RegistrationDiscoveryName string `` /* 138-byte string literal not displayed */
// Use our assembled `Server` components to construct a unified server list.
Servers []*v11.Server `protobuf:"bytes,3,rep,name=servers,proto3" json:"servers,omitempty"`
// Use our assembled `Client` components to construct a client list, where each client has its exclusive configuration.
Clients *v11.Clients `protobuf:"bytes,4,opt,name=clients,proto3,oneof" json:"clients,omitempty"`
// Middlewares defines the global middleware chain.
Middlewares *v12.Middlewares `protobuf:"bytes,5,opt,name=middlewares,proto3" json:"middlewares,omitempty"` // Added middlewares field
// contains filtered or unexported fields
}
- Construct the top-level Bootstrap "blueprint" This is the final application, composed entirely of the assembled components above.
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetClients ¶
func (*Bootstrap) GetMiddlewares ¶ added in v0.2.8
func (x *Bootstrap) GetMiddlewares() *v12.Middlewares
func (*Bootstrap) GetRegistrationDiscoveryName ¶
func (*Bootstrap) GetServers ¶
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.