configs

package
v0.2.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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
}
  1. Construct the top-level Bootstrap "blueprint" This is the final application, composed entirely of the assembled components above.

func (*Bootstrap) Descriptor deprecated

func (*Bootstrap) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetClients

func (x *Bootstrap) GetClients() *v11.Clients

func (*Bootstrap) GetDiscoveries

func (x *Bootstrap) GetDiscoveries() map[string]*v1.Discovery

func (*Bootstrap) GetMiddlewares added in v0.2.8

func (x *Bootstrap) GetMiddlewares() *v12.Middlewares

func (*Bootstrap) GetRegistrationDiscoveryName

func (x *Bootstrap) GetRegistrationDiscoveryName() string

func (*Bootstrap) GetServers

func (x *Bootstrap) GetServers() []*v11.Server

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

func (x *Bootstrap) ProtoReflect() protoreflect.Message

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL