Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[T cacheT] interface { Set(T) SetList([]T) Delete(T) DeleteList([]T) Clean() // 以Get开头的方法都具有Clone特性,对外部修改不可见。 GetData(...T) (map[string]T, error) GetByName(string) (T, error) GetList(...T) ([]T, error) GetResources(...T) ([]types.Resource, error) // 当不传递参数时等效于克隆自身 Clone(...T) (Cache[T], error) PrintNames() }
type Cluster ¶
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*Cluster) GetResource ¶
func (*Cluster) GetType ¶
func (c *Cluster) GetType() resourcev3.Type
type Endpoint ¶
type Endpoint struct {
*endpointv3.ClusterLoadAssignment
}
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*Endpoint) GetResource ¶
func (*Endpoint) GetType ¶
func (e *Endpoint) GetType() resourcev3.Type
type ExtensionConfig ¶
type ExtensionConfig struct{ *corev3.TypedExtensionConfig }
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*ExtensionConfig) DeepCopy ¶
func (ec *ExtensionConfig) DeepCopy() any
func (*ExtensionConfig) GetResource ¶
func (ec *ExtensionConfig) GetResource() types.Resource
func (*ExtensionConfig) GetType ¶
func (ec *ExtensionConfig) GetType() resourcev3.Type
type Listener ¶
type Listener struct{ *listenerv3.Listener }
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*Listener) GetResource ¶
func (*Listener) GetType ¶
func (l *Listener) GetType() resourcev3.Type
type RateLimitConfig ¶ added in v0.0.2
type RateLimitConfig struct{ *ratelimitv3.RateLimitConfig }
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*RateLimitConfig) DeepCopy ¶ added in v0.0.2
func (r *RateLimitConfig) DeepCopy() any
func (*RateLimitConfig) GetResource ¶ added in v0.0.2
func (r *RateLimitConfig) GetResource() types.Resource
func (*RateLimitConfig) GetType ¶ added in v0.0.2
func (r *RateLimitConfig) GetType() resourcev3.Type
type Route ¶
type Route struct{ *routev3.RouteConfiguration }
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*Route) GetResource ¶
func (*Route) GetType ¶
func (r *Route) GetType() resourcev3.Type
type Runtime ¶
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*Runtime) GetResource ¶
func (*Runtime) GetType ¶
func (r *Runtime) GetType() resourcev3.Type
type ScopedRoute ¶
type ScopedRoute struct {
*routev3.ScopedRouteConfiguration
}
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*ScopedRoute) DeepCopy ¶
func (sr *ScopedRoute) DeepCopy() any
func (*ScopedRoute) GetResource ¶
func (sr *ScopedRoute) GetResource() types.Resource
func (*ScopedRoute) GetType ¶
func (sr *ScopedRoute) GetType() resourcev3.Type
type Secret ¶
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*Secret) GetResource ¶
func (*Secret) GetType ¶
func (s *Secret) GetType() resourcev3.Type
type ThriftRoute ¶ added in v0.0.2
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*ThriftRoute) DeepCopy ¶ added in v0.0.2
func (r *ThriftRoute) DeepCopy() any
func (*ThriftRoute) GetResource ¶ added in v0.0.2
func (r *ThriftRoute) GetResource() types.Resource
func (*ThriftRoute) GetType ¶ added in v0.0.2
func (r *ThriftRoute) GetType() resourcev3.Type
type VirtualHost ¶
type VirtualHost struct{ *routev3.VirtualHost }
// Rate Limit service RateLimitConfigType = APITypePrefix + "ratelimit.config.ratelimit.v3.RateLimitConfig"
func (*VirtualHost) DeepCopy ¶
func (vh *VirtualHost) DeepCopy() any
func (*VirtualHost) GetResource ¶
func (vh *VirtualHost) GetResource() types.Resource
func (*VirtualHost) GetType ¶
func (vh *VirtualHost) GetType() resourcev3.Type