Documentation ¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Index ¶
- Constants
- Variables
- type APIGroupResource
- func (in *APIGroupResource) DeepCopy() *APIGroupResource
- func (in *APIGroupResource) DeepCopyInterface() interface{}
- func (in *APIGroupResource) DeepCopyInto(out *APIGroupResource)
- func (*APIGroupResource) Descriptor() ([]byte, []int)deprecated
- func (x *APIGroupResource) GetApiGroups() []string
- func (x *APIGroupResource) GetResources() []string
- func (*APIGroupResource) ProtoMessage()
- func (x *APIGroupResource) ProtoReflect() protoreflect.Message
- func (x *APIGroupResource) Reset()
- func (x *APIGroupResource) String() string
- type BreakerState
- func (BreakerState) Descriptor() protoreflect.EnumDescriptor
- func (x BreakerState) Enum() *BreakerState
- func (BreakerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x BreakerState) Number() protoreflect.EnumNumber
- func (x BreakerState) String() string
- func (BreakerState) Type() protoreflect.EnumType
- type Bucket
- func (in *Bucket) DeepCopy() *Bucket
- func (in *Bucket) DeepCopyInterface() interface{}
- func (in *Bucket) DeepCopyInto(out *Bucket)
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetBurst() uint32
- func (x *Bucket) GetInterval() string
- func (x *Bucket) GetLimit() uint32
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type CircuitBreaker
- func (in *CircuitBreaker) DeepCopy() *CircuitBreaker
- func (in *CircuitBreaker) DeepCopyInterface() interface{}
- func (in *CircuitBreaker) DeepCopyInto(out *CircuitBreaker)
- func (*CircuitBreaker) Descriptor() ([]byte, []int)deprecated
- func (x *CircuitBreaker) GetConfigHash() string
- func (x *CircuitBreaker) GetName() string
- func (x *CircuitBreaker) GetOption() CircuitBreaker_Option
- func (x *CircuitBreaker) GetRateLimitings() []*RateLimiting
- func (x *CircuitBreaker) GetTrafficInterceptRules() []*TrafficInterceptRule
- func (*CircuitBreaker) ProtoMessage()
- func (x *CircuitBreaker) ProtoReflect() protoreflect.Message
- func (x *CircuitBreaker) Reset()
- func (x *CircuitBreaker) String() string
- type CircuitBreaker_Option
- func (CircuitBreaker_Option) Descriptor() protoreflect.EnumDescriptor
- func (x CircuitBreaker_Option) Enum() *CircuitBreaker_Option
- func (CircuitBreaker_Option) EnumDescriptor() ([]byte, []int)deprecated
- func (x CircuitBreaker_Option) Number() protoreflect.EnumNumber
- func (x CircuitBreaker_Option) String() string
- func (CircuitBreaker_Option) Type() protoreflect.EnumType
- type ConfigResp
- func (in *ConfigResp) DeepCopy() *ConfigResp
- func (in *ConfigResp) DeepCopyInterface() interface{}
- func (in *ConfigResp) DeepCopyInto(out *ConfigResp)
- func (*ConfigResp) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigResp) GetLimitingSnapshot() []*LimitingSnapshot
- func (x *ConfigResp) GetMessage() string
- func (x *ConfigResp) GetSuccess() bool
- func (*ConfigResp) ProtoMessage()
- func (x *ConfigResp) ProtoReflect() protoreflect.Message
- func (x *ConfigResp) Reset()
- func (x *ConfigResp) String() string
- type Endpoint
- func (in *Endpoint) DeepCopy() *Endpoint
- func (in *Endpoint) DeepCopyInterface() interface{}
- func (in *Endpoint) DeepCopyInto(out *Endpoint)
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetIp() string
- func (x *Endpoint) GetLimits() []*Limit
- func (x *Endpoint) GetName() string
- func (x *Endpoint) GetShardName() string
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type InternalSpec
- type LeaderElectionState
- func (in *LeaderElectionState) DeepCopy() *LeaderElectionState
- func (in *LeaderElectionState) DeepCopyInterface() interface{}
- func (in *LeaderElectionState) DeepCopyInto(out *LeaderElectionState)
- func (*LeaderElectionState) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderElectionState) GetIdentity() string
- func (x *LeaderElectionState) GetIsLeader() bool
- func (*LeaderElectionState) ProtoMessage()
- func (x *LeaderElectionState) ProtoReflect() protoreflect.Message
- func (x *LeaderElectionState) Reset()
- func (x *LeaderElectionState) String() string
- type Limit
- func (in *Limit) DeepCopy() *Limit
- func (in *Limit) DeepCopyInterface() interface{}
- func (in *Limit) DeepCopyInto(out *Limit)
- func (*Limit) Descriptor() ([]byte, []int)deprecated
- func (x *Limit) GetObjectSelector() string
- func (x *Limit) GetResources() []*APIGroupResource
- func (*Limit) ProtoMessage()
- func (x *Limit) ProtoReflect() protoreflect.Message
- func (x *Limit) Reset()
- func (x *Limit) String() string
- type LimitingSnapshot
- func (in *LimitingSnapshot) DeepCopy() *LimitingSnapshot
- func (in *LimitingSnapshot) DeepCopyInterface() interface{}
- func (in *LimitingSnapshot) DeepCopyInto(out *LimitingSnapshot)
- func (*LimitingSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *LimitingSnapshot) GetLastTransitionTime() *v1.Time
- func (x *LimitingSnapshot) GetLimitingName() string
- func (x *LimitingSnapshot) GetRecoverTime() *v1.Time
- func (x *LimitingSnapshot) GetState() BreakerState
- func (*LimitingSnapshot) ProtoMessage()
- func (x *LimitingSnapshot) ProtoReflect() protoreflect.Message
- func (x *LimitingSnapshot) Reset()
- func (x *LimitingSnapshot) String() string
- type MetaState
- func (in *MetaState) DeepCopy() *MetaState
- func (in *MetaState) DeepCopyInterface() interface{}
- func (in *MetaState) DeepCopyInto(out *MetaState)
- func (*MetaState) Descriptor() ([]byte, []int)deprecated
- func (x *MetaState) GetCurrentHash() string
- func (x *MetaState) GetExpectedHash() string
- func (x *MetaState) GetHashUnloadReason() string
- func (*MetaState) ProtoMessage()
- func (x *MetaState) ProtoReflect() protoreflect.Message
- func (x *MetaState) Reset()
- func (x *MetaState) String() string
- type ProxySpec
- func (in *ProxySpec) DeepCopy() *ProxySpec
- func (in *ProxySpec) DeepCopyInterface() interface{}
- func (in *ProxySpec) DeepCopyInto(out *ProxySpec)
- func (*ProxySpec) Descriptor() ([]byte, []int)deprecated
- func (x *ProxySpec) GetEndpoints() []*Endpoint
- func (x *ProxySpec) GetLimits() []*Limit
- func (x *ProxySpec) GetMeta() *SpecMeta
- func (*ProxySpec) ProtoMessage()
- func (x *ProxySpec) ProtoReflect() protoreflect.Message
- func (x *ProxySpec) Reset()
- func (x *ProxySpec) String() string
- type ProxyStatus
- func (in *ProxyStatus) DeepCopy() *ProxyStatus
- func (in *ProxyStatus) DeepCopyInterface() interface{}
- func (in *ProxyStatus) DeepCopyInto(out *ProxyStatus)
- func (*ProxyStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyStatus) GetLeaderElectionState() *LeaderElectionState
- func (x *ProxyStatus) GetMetaState() *MetaState
- func (x *ProxyStatus) GetSelfInfo() *SelfInfo
- func (*ProxyStatus) ProtoMessage()
- func (x *ProxyStatus) ProtoReflect() protoreflect.Message
- func (x *ProxyStatus) Reset()
- func (x *ProxyStatus) String() string
- type RateLimiting
- func (in *RateLimiting) DeepCopy() *RateLimiting
- func (in *RateLimiting) DeepCopyInterface() interface{}
- func (in *RateLimiting) DeepCopyInto(out *RateLimiting)
- func (*RateLimiting) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimiting) GetBucket() *Bucket
- func (x *RateLimiting) GetName() string
- func (x *RateLimiting) GetProperties() map[string]string
- func (x *RateLimiting) GetRecoverPolicy() *RateLimiting_RecoverPolicy
- func (x *RateLimiting) GetResourceRules() []*ResourceRule
- func (x *RateLimiting) GetRestRules() []*RestRules
- func (x *RateLimiting) GetTriggerPolicy() RateLimiting_TriggerPolicy
- func (x *RateLimiting) GetValidatePolicy() string
- func (*RateLimiting) ProtoMessage()
- func (x *RateLimiting) ProtoReflect() protoreflect.Message
- func (x *RateLimiting) Reset()
- func (x *RateLimiting) String() string
- type RateLimiting_RecoverPolicy
- func (in *RateLimiting_RecoverPolicy) DeepCopy() *RateLimiting_RecoverPolicy
- func (in *RateLimiting_RecoverPolicy) DeepCopyInterface() interface{}
- func (in *RateLimiting_RecoverPolicy) DeepCopyInto(out *RateLimiting_RecoverPolicy)
- func (*RateLimiting_RecoverPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimiting_RecoverPolicy) GetSleepingWindowSize() string
- func (x *RateLimiting_RecoverPolicy) GetType() RateLimiting_RecoverType
- func (*RateLimiting_RecoverPolicy) ProtoMessage()
- func (x *RateLimiting_RecoverPolicy) ProtoReflect() protoreflect.Message
- func (x *RateLimiting_RecoverPolicy) Reset()
- func (x *RateLimiting_RecoverPolicy) String() string
- type RateLimiting_RecoverType
- func (RateLimiting_RecoverType) Descriptor() protoreflect.EnumDescriptor
- func (x RateLimiting_RecoverType) Enum() *RateLimiting_RecoverType
- func (RateLimiting_RecoverType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RateLimiting_RecoverType) Number() protoreflect.EnumNumber
- func (x RateLimiting_RecoverType) String() string
- func (RateLimiting_RecoverType) Type() protoreflect.EnumType
- type RateLimiting_TriggerPolicy
- func (RateLimiting_TriggerPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x RateLimiting_TriggerPolicy) Enum() *RateLimiting_TriggerPolicy
- func (RateLimiting_TriggerPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x RateLimiting_TriggerPolicy) Number() protoreflect.EnumNumber
- func (x RateLimiting_TriggerPolicy) String() string
- func (RateLimiting_TriggerPolicy) Type() protoreflect.EnumType
- type ResourceRequest
- type ResourceRule
- func (in *ResourceRule) DeepCopy() *ResourceRule
- func (in *ResourceRule) DeepCopyInterface() interface{}
- func (in *ResourceRule) DeepCopyInto(out *ResourceRule)
- func (*ResourceRule) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRule) GetApiGroups() []string
- func (x *ResourceRule) GetNamespaces() []string
- func (x *ResourceRule) GetResources() []string
- func (x *ResourceRule) GetVerbs() []string
- func (*ResourceRule) ProtoMessage()
- func (x *ResourceRule) ProtoReflect() protoreflect.Message
- func (x *ResourceRule) Reset()
- func (x *ResourceRule) String() string
- type RestRules
- func (in *RestRules) DeepCopy() *RestRules
- func (in *RestRules) DeepCopyInterface() interface{}
- func (in *RestRules) DeepCopyInto(out *RestRules)
- func (*RestRules) Descriptor() ([]byte, []int)deprecated
- func (x *RestRules) GetMethod() string
- func (x *RestRules) GetUrl() string
- func (*RestRules) ProtoMessage()
- func (x *RestRules) ProtoReflect() protoreflect.Message
- func (x *RestRules) Reset()
- func (x *RestRules) String() string
- type SelfInfo
- func (in *SelfInfo) DeepCopy() *SelfInfo
- func (in *SelfInfo) DeepCopyInterface() interface{}
- func (in *SelfInfo) DeepCopyInto(out *SelfInfo)
- func (*SelfInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SelfInfo) GetName() string
- func (x *SelfInfo) GetNamespace() string
- func (*SelfInfo) ProtoMessage()
- func (x *SelfInfo) ProtoReflect() protoreflect.Message
- func (x *SelfInfo) Reset()
- func (x *SelfInfo) String() string
- type SpecMeta
- func (in *SpecMeta) DeepCopy() *SpecMeta
- func (in *SpecMeta) DeepCopyInterface() interface{}
- func (in *SpecMeta) DeepCopyInto(out *SpecMeta)
- func (*SpecMeta) Descriptor() ([]byte, []int)deprecated
- func (x *SpecMeta) GetHash() string
- func (x *SpecMeta) GetShardName() string
- func (*SpecMeta) ProtoMessage()
- func (x *SpecMeta) ProtoReflect() protoreflect.Message
- func (x *SpecMeta) Reset()
- func (x *SpecMeta) String() string
- type TrafficInterceptRule
- func (in *TrafficInterceptRule) DeepCopy() *TrafficInterceptRule
- func (in *TrafficInterceptRule) DeepCopyInterface() interface{}
- func (in *TrafficInterceptRule) DeepCopyInto(out *TrafficInterceptRule)
- func (*TrafficInterceptRule) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficInterceptRule) GetContentType() TrafficInterceptRule_ContentType
- func (x *TrafficInterceptRule) GetContents() []string
- func (x *TrafficInterceptRule) GetInterceptType() TrafficInterceptRule_InterceptType
- func (x *TrafficInterceptRule) GetMethods() []string
- func (x *TrafficInterceptRule) GetName() string
- func (*TrafficInterceptRule) ProtoMessage()
- func (x *TrafficInterceptRule) ProtoReflect() protoreflect.Message
- func (x *TrafficInterceptRule) Reset()
- func (x *TrafficInterceptRule) String() string
- type TrafficInterceptRule_ContentType
- func (TrafficInterceptRule_ContentType) Descriptor() protoreflect.EnumDescriptor
- func (x TrafficInterceptRule_ContentType) Enum() *TrafficInterceptRule_ContentType
- func (TrafficInterceptRule_ContentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TrafficInterceptRule_ContentType) Number() protoreflect.EnumNumber
- func (x TrafficInterceptRule_ContentType) String() string
- func (TrafficInterceptRule_ContentType) Type() protoreflect.EnumType
- type TrafficInterceptRule_InterceptType
- func (TrafficInterceptRule_InterceptType) Descriptor() protoreflect.EnumDescriptor
- func (x TrafficInterceptRule_InterceptType) Enum() *TrafficInterceptRule_InterceptType
- func (TrafficInterceptRule_InterceptType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TrafficInterceptRule_InterceptType) Number() protoreflect.EnumNumber
- func (x TrafficInterceptRule_InterceptType) String() string
- func (TrafficInterceptRule_InterceptType) Type() protoreflect.EnumType
Constants ¶
const ( AllSubsetPublic = "AllSubsetPublic" ResourceAll = "*" )
Variables ¶
var ( BreakerState_name = map[int32]string{ 0: "OPENED", 1: "CLOSED", } BreakerState_value = map[string]int32{ "OPENED": 0, "CLOSED": 1, } )
Enum value maps for BreakerState.
var ( CircuitBreaker_Option_name = map[int32]string{ 0: "CREATE", 1: "DELETE", 2: "UPDATE", 3: "CHECK", 4: "RECOVER", } CircuitBreaker_Option_value = map[string]int32{ "CREATE": 0, "DELETE": 1, "UPDATE": 2, "CHECK": 3, "RECOVER": 4, } )
Enum value maps for CircuitBreaker_Option.
var ( TrafficInterceptRule_ContentType_name = map[int32]string{ 0: "NORMAL", 1: "REGEXP", } TrafficInterceptRule_ContentType_value = map[string]int32{ "NORMAL": 0, "REGEXP": 1, } )
Enum value maps for TrafficInterceptRule_ContentType.
var ( TrafficInterceptRule_InterceptType_name = map[int32]string{ 0: "INTERCEPT_WHITELIST", 1: "INTERCEPT_BLACKLIST", } TrafficInterceptRule_InterceptType_value = map[string]int32{ "INTERCEPT_WHITELIST": 0, "INTERCEPT_BLACKLIST": 1, } )
Enum value maps for TrafficInterceptRule_InterceptType.
var ( RateLimiting_TriggerPolicy_name = map[int32]string{ 0: "TRIGGER_POLICY_NORMAL", 1: "TRIGGER_POLICY_LIMITER_ONLY", 2: "TRIGGER_POLICY_FORCE_OPENED", 3: "TRIGGER_POLICY_FORCE_CLOSED", } RateLimiting_TriggerPolicy_value = map[string]int32{ "TRIGGER_POLICY_NORMAL": 0, "TRIGGER_POLICY_LIMITER_ONLY": 1, "TRIGGER_POLICY_FORCE_OPENED": 2, "TRIGGER_POLICY_FORCE_CLOSED": 3, } )
Enum value maps for RateLimiting_TriggerPolicy.
var ( RateLimiting_RecoverType_name = map[int32]string{ 0: "RECOVER_POLICY_MANUAL", 1: "RECOVER_POLICY_SLEEPING_WINDOW", } RateLimiting_RecoverType_value = map[string]int32{ "RECOVER_POLICY_MANUAL": 0, "RECOVER_POLICY_SLEEPING_WINDOW": 1, } )
Enum value maps for RateLimiting_RecoverType.
var ( DefaultHttpClient = &http.Client{ Transport: &http2.Transport{ AllowHTTP: true, DialTLSContext: func(ctx context.Context, network, addr string, _ *tls.Config) (net.Conn, error) { d := net.Dialer{Timeout: 5 * time.Second} return d.DialContext(ctx, network, addr) }, }, } )
var File_pkg_apis_ctrlmesh_proto_ctrlmesh_proto protoreflect.FileDescriptor
var File_pkg_apis_ctrlmesh_proto_throttling_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type APIGroupResource ¶
type APIGroupResource struct { ApiGroups []string `protobuf:"bytes,1,rep,name=apiGroups,proto3" json:"apiGroups,omitempty"` Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*APIGroupResource) DeepCopy ¶
func (in *APIGroupResource) DeepCopy() *APIGroupResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupResource. Required by controller-gen.
func (*APIGroupResource) DeepCopyInterface ¶
func (in *APIGroupResource) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupResource. Required by controller-gen.
func (*APIGroupResource) DeepCopyInto ¶
func (in *APIGroupResource) DeepCopyInto(out *APIGroupResource)
DeepCopyInto supports using APIGroupResource within kubernetes types, where deepcopy-gen is used.
func (*APIGroupResource) Descriptor
deprecated
func (*APIGroupResource) Descriptor() ([]byte, []int)
Deprecated: Use APIGroupResource.ProtoReflect.Descriptor instead.
func (*APIGroupResource) GetApiGroups ¶
func (x *APIGroupResource) GetApiGroups() []string
func (*APIGroupResource) GetResources ¶
func (x *APIGroupResource) GetResources() []string
func (*APIGroupResource) ProtoMessage ¶
func (*APIGroupResource) ProtoMessage()
func (*APIGroupResource) ProtoReflect ¶
func (x *APIGroupResource) ProtoReflect() protoreflect.Message
func (*APIGroupResource) Reset ¶
func (x *APIGroupResource) Reset()
func (*APIGroupResource) String ¶
func (x *APIGroupResource) String() string
type BreakerState ¶
type BreakerState int32
const ( BreakerState_OPENED BreakerState = 0 BreakerState_CLOSED BreakerState = 1 )
func (BreakerState) Descriptor ¶
func (BreakerState) Descriptor() protoreflect.EnumDescriptor
func (BreakerState) Enum ¶
func (x BreakerState) Enum() *BreakerState
func (BreakerState) EnumDescriptor
deprecated
func (BreakerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use BreakerState.Descriptor instead.
func (BreakerState) Number ¶
func (x BreakerState) Number() protoreflect.EnumNumber
func (BreakerState) String ¶
func (x BreakerState) String() string
func (BreakerState) Type ¶
func (BreakerState) Type() protoreflect.EnumType
type Bucket ¶
type Bucket struct { Burst uint32 `protobuf:"varint,1,opt,name=burst,proto3" json:"burst,omitempty"` Interval string `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` Limit uint32 `protobuf:"varint,3,opt,name=Limit,proto3" json:"Limit,omitempty"` // contains filtered or unexported fields }
func (*Bucket) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bucket. Required by controller-gen.
func (*Bucket) DeepCopyInterface ¶
func (in *Bucket) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Bucket. Required by controller-gen.
func (*Bucket) DeepCopyInto ¶
DeepCopyInto supports using Bucket within kubernetes types, where deepcopy-gen is used.
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetInterval ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
type CircuitBreaker ¶
type CircuitBreaker struct { Option CircuitBreaker_Option `protobuf:"varint,1,opt,name=option,proto3,enum=proto.CircuitBreaker_Option" json:"option,omitempty"` TrafficInterceptRules []*TrafficInterceptRule `protobuf:"bytes,2,rep,name=trafficInterceptRules,proto3" json:"trafficInterceptRules,omitempty"` RateLimitings []*RateLimiting `protobuf:"bytes,3,rep,name=rateLimitings,proto3" json:"rateLimitings,omitempty"` ConfigHash string `protobuf:"bytes,4,opt,name=configHash,proto3" json:"configHash,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CircuitBreaker) DeepCopy ¶
func (in *CircuitBreaker) DeepCopy() *CircuitBreaker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitBreaker. Required by controller-gen.
func (*CircuitBreaker) DeepCopyInterface ¶
func (in *CircuitBreaker) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CircuitBreaker. Required by controller-gen.
func (*CircuitBreaker) DeepCopyInto ¶
func (in *CircuitBreaker) DeepCopyInto(out *CircuitBreaker)
DeepCopyInto supports using CircuitBreaker within kubernetes types, where deepcopy-gen is used.
func (*CircuitBreaker) Descriptor
deprecated
func (*CircuitBreaker) Descriptor() ([]byte, []int)
Deprecated: Use CircuitBreaker.ProtoReflect.Descriptor instead.
func (*CircuitBreaker) GetConfigHash ¶
func (x *CircuitBreaker) GetConfigHash() string
func (*CircuitBreaker) GetName ¶
func (x *CircuitBreaker) GetName() string
func (*CircuitBreaker) GetOption ¶
func (x *CircuitBreaker) GetOption() CircuitBreaker_Option
func (*CircuitBreaker) GetRateLimitings ¶
func (x *CircuitBreaker) GetRateLimitings() []*RateLimiting
func (*CircuitBreaker) GetTrafficInterceptRules ¶
func (x *CircuitBreaker) GetTrafficInterceptRules() []*TrafficInterceptRule
func (*CircuitBreaker) ProtoMessage ¶
func (*CircuitBreaker) ProtoMessage()
func (*CircuitBreaker) ProtoReflect ¶
func (x *CircuitBreaker) ProtoReflect() protoreflect.Message
func (*CircuitBreaker) Reset ¶
func (x *CircuitBreaker) Reset()
func (*CircuitBreaker) String ¶
func (x *CircuitBreaker) String() string
type CircuitBreaker_Option ¶
type CircuitBreaker_Option int32
const ( CircuitBreaker_CREATE CircuitBreaker_Option = 0 CircuitBreaker_DELETE CircuitBreaker_Option = 1 CircuitBreaker_UPDATE CircuitBreaker_Option = 2 CircuitBreaker_CHECK CircuitBreaker_Option = 3 CircuitBreaker_RECOVER CircuitBreaker_Option = 4 )
func (CircuitBreaker_Option) Descriptor ¶
func (CircuitBreaker_Option) Descriptor() protoreflect.EnumDescriptor
func (CircuitBreaker_Option) Enum ¶
func (x CircuitBreaker_Option) Enum() *CircuitBreaker_Option
func (CircuitBreaker_Option) EnumDescriptor
deprecated
func (CircuitBreaker_Option) EnumDescriptor() ([]byte, []int)
Deprecated: Use CircuitBreaker_Option.Descriptor instead.
func (CircuitBreaker_Option) Number ¶
func (x CircuitBreaker_Option) Number() protoreflect.EnumNumber
func (CircuitBreaker_Option) String ¶
func (x CircuitBreaker_Option) String() string
func (CircuitBreaker_Option) Type ¶
func (CircuitBreaker_Option) Type() protoreflect.EnumType
type ConfigResp ¶
type ConfigResp struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` LimitingSnapshot []*LimitingSnapshot `protobuf:"bytes,3,rep,name=limitingSnapshot,proto3" json:"limitingSnapshot,omitempty"` // contains filtered or unexported fields }
func (*ConfigResp) DeepCopy ¶
func (in *ConfigResp) DeepCopy() *ConfigResp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigResp. Required by controller-gen.
func (*ConfigResp) DeepCopyInterface ¶
func (in *ConfigResp) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConfigResp. Required by controller-gen.
func (*ConfigResp) DeepCopyInto ¶
func (in *ConfigResp) DeepCopyInto(out *ConfigResp)
DeepCopyInto supports using ConfigResp within kubernetes types, where deepcopy-gen is used.
func (*ConfigResp) Descriptor
deprecated
func (*ConfigResp) Descriptor() ([]byte, []int)
Deprecated: Use ConfigResp.ProtoReflect.Descriptor instead.
func (*ConfigResp) GetLimitingSnapshot ¶
func (x *ConfigResp) GetLimitingSnapshot() []*LimitingSnapshot
func (*ConfigResp) GetMessage ¶
func (x *ConfigResp) GetMessage() string
func (*ConfigResp) GetSuccess ¶
func (x *ConfigResp) GetSuccess() bool
func (*ConfigResp) ProtoMessage ¶
func (*ConfigResp) ProtoMessage()
func (*ConfigResp) ProtoReflect ¶
func (x *ConfigResp) ProtoReflect() protoreflect.Message
func (*ConfigResp) Reset ¶
func (x *ConfigResp) Reset()
func (*ConfigResp) String ¶
func (x *ConfigResp) String() string
type Endpoint ¶
type Endpoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` ShardName string `protobuf:"bytes,3,opt,name=shardName,proto3" json:"shardName,omitempty"` Limits []*Limit `protobuf:"bytes,4,rep,name=limits,proto3" json:"limits,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint. Required by controller-gen.
func (*Endpoint) DeepCopyInterface ¶
func (in *Endpoint) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint. Required by controller-gen.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto supports using Endpoint within kubernetes types, where deepcopy-gen is used.
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetShardName ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type InternalSpec ¶
type InternalSpec struct { *ProxySpec // contains filtered or unexported fields }
func ConvertProtoSpecToInternal ¶
func ConvertProtoSpecToInternal(protoSpec *ProxySpec) *InternalSpec
func (*InternalSpec) GetMatchedSubsetEndpoint ¶
func (is *InternalSpec) GetMatchedSubsetEndpoint(ns string, gr schema.GroupResource) (ignore bool, self bool, hosts []string)
func (*InternalSpec) GetObjectSelector ¶
func (is *InternalSpec) GetObjectSelector(gr schema.GroupResource) (sel *metav1.LabelSelector)
type LeaderElectionState ¶
type LeaderElectionState struct { Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` IsLeader bool `protobuf:"varint,2,opt,name=isLeader,proto3" json:"isLeader,omitempty"` // contains filtered or unexported fields }
func (*LeaderElectionState) DeepCopy ¶
func (in *LeaderElectionState) DeepCopy() *LeaderElectionState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionState. Required by controller-gen.
func (*LeaderElectionState) DeepCopyInterface ¶
func (in *LeaderElectionState) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionState. Required by controller-gen.
func (*LeaderElectionState) DeepCopyInto ¶
func (in *LeaderElectionState) DeepCopyInto(out *LeaderElectionState)
DeepCopyInto supports using LeaderElectionState within kubernetes types, where deepcopy-gen is used.
func (*LeaderElectionState) Descriptor
deprecated
func (*LeaderElectionState) Descriptor() ([]byte, []int)
Deprecated: Use LeaderElectionState.ProtoReflect.Descriptor instead.
func (*LeaderElectionState) GetIdentity ¶
func (x *LeaderElectionState) GetIdentity() string
func (*LeaderElectionState) GetIsLeader ¶
func (x *LeaderElectionState) GetIsLeader() bool
func (*LeaderElectionState) ProtoMessage ¶
func (*LeaderElectionState) ProtoMessage()
func (*LeaderElectionState) ProtoReflect ¶
func (x *LeaderElectionState) ProtoReflect() protoreflect.Message
func (*LeaderElectionState) Reset ¶
func (x *LeaderElectionState) Reset()
func (*LeaderElectionState) String ¶
func (x *LeaderElectionState) String() string
type Limit ¶
type Limit struct { ObjectSelector string `protobuf:"bytes,1,opt,name=objectSelector,proto3" json:"objectSelector,omitempty"` Resources []*APIGroupResource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*Limit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Limit. Required by controller-gen.
func (*Limit) DeepCopyInterface ¶
func (in *Limit) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Limit. Required by controller-gen.
func (*Limit) DeepCopyInto ¶
DeepCopyInto supports using Limit within kubernetes types, where deepcopy-gen is used.
func (*Limit) Descriptor
deprecated
func (*Limit) GetObjectSelector ¶
func (*Limit) GetResources ¶
func (x *Limit) GetResources() []*APIGroupResource
func (*Limit) ProtoMessage ¶
func (*Limit) ProtoMessage()
func (*Limit) ProtoReflect ¶
func (x *Limit) ProtoReflect() protoreflect.Message
type LimitingSnapshot ¶
type LimitingSnapshot struct { LimitingName string `protobuf:"bytes,1,opt,name=limitingName,proto3" json:"limitingName,omitempty"` State BreakerState `protobuf:"varint,2,opt,name=state,proto3,enum=proto.BreakerState" json:"state,omitempty"` RecoverTime *v1.Time `protobuf:"bytes,3,opt,name=recoverTime,proto3" json:"recoverTime,omitempty"` LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` // contains filtered or unexported fields }
func (*LimitingSnapshot) DeepCopy ¶
func (in *LimitingSnapshot) DeepCopy() *LimitingSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitingSnapshot. Required by controller-gen.
func (*LimitingSnapshot) DeepCopyInterface ¶
func (in *LimitingSnapshot) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LimitingSnapshot. Required by controller-gen.
func (*LimitingSnapshot) DeepCopyInto ¶
func (in *LimitingSnapshot) DeepCopyInto(out *LimitingSnapshot)
DeepCopyInto supports using LimitingSnapshot within kubernetes types, where deepcopy-gen is used.
func (*LimitingSnapshot) Descriptor
deprecated
func (*LimitingSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use LimitingSnapshot.ProtoReflect.Descriptor instead.
func (*LimitingSnapshot) GetLastTransitionTime ¶
func (x *LimitingSnapshot) GetLastTransitionTime() *v1.Time
func (*LimitingSnapshot) GetLimitingName ¶
func (x *LimitingSnapshot) GetLimitingName() string
func (*LimitingSnapshot) GetRecoverTime ¶
func (x *LimitingSnapshot) GetRecoverTime() *v1.Time
func (*LimitingSnapshot) GetState ¶
func (x *LimitingSnapshot) GetState() BreakerState
func (*LimitingSnapshot) ProtoMessage ¶
func (*LimitingSnapshot) ProtoMessage()
func (*LimitingSnapshot) ProtoReflect ¶
func (x *LimitingSnapshot) ProtoReflect() protoreflect.Message
func (*LimitingSnapshot) Reset ¶
func (x *LimitingSnapshot) Reset()
func (*LimitingSnapshot) String ¶
func (x *LimitingSnapshot) String() string
type MetaState ¶
type MetaState struct { ExpectedHash string `protobuf:"bytes,1,opt,name=expectedHash,proto3" json:"expectedHash,omitempty"` CurrentHash string `protobuf:"bytes,2,opt,name=currentHash,proto3" json:"currentHash,omitempty"` HashUnloadReason string `protobuf:"bytes,3,opt,name=hashUnloadReason,proto3" json:"hashUnloadReason,omitempty"` // contains filtered or unexported fields }
func (*MetaState) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaState. Required by controller-gen.
func (*MetaState) DeepCopyInterface ¶
func (in *MetaState) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MetaState. Required by controller-gen.
func (*MetaState) DeepCopyInto ¶
DeepCopyInto supports using MetaState within kubernetes types, where deepcopy-gen is used.
func (*MetaState) Descriptor
deprecated
func (*MetaState) GetCurrentHash ¶
func (*MetaState) GetExpectedHash ¶
func (*MetaState) GetHashUnloadReason ¶
func (*MetaState) ProtoMessage ¶
func (*MetaState) ProtoMessage()
func (*MetaState) ProtoReflect ¶
func (x *MetaState) ProtoReflect() protoreflect.Message
type ProxySpec ¶
type ProxySpec struct { Meta *SpecMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Limits []*Limit `protobuf:"bytes,2,rep,name=limits,proto3" json:"limits,omitempty"` Endpoints []*Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
func (*ProxySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySpec. Required by controller-gen.
func (*ProxySpec) DeepCopyInterface ¶
func (in *ProxySpec) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ProxySpec. Required by controller-gen.
func (*ProxySpec) DeepCopyInto ¶
DeepCopyInto supports using ProxySpec within kubernetes types, where deepcopy-gen is used.
func (*ProxySpec) Descriptor
deprecated
func (*ProxySpec) GetEndpoints ¶
func (*ProxySpec) ProtoMessage ¶
func (*ProxySpec) ProtoMessage()
func (*ProxySpec) ProtoReflect ¶
func (x *ProxySpec) ProtoReflect() protoreflect.Message
type ProxyStatus ¶
type ProxyStatus struct { SelfInfo *SelfInfo `protobuf:"bytes,1,opt,name=selfInfo,proto3" json:"selfInfo,omitempty"` MetaState *MetaState `protobuf:"bytes,2,opt,name=metaState,proto3" json:"metaState,omitempty"` LeaderElectionState *LeaderElectionState `protobuf:"bytes,3,opt,name=leaderElectionState,proto3" json:"leaderElectionState,omitempty"` // contains filtered or unexported fields }
func (*ProxyStatus) DeepCopy ¶
func (in *ProxyStatus) DeepCopy() *ProxyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyStatus. Required by controller-gen.
func (*ProxyStatus) DeepCopyInterface ¶
func (in *ProxyStatus) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ProxyStatus. Required by controller-gen.
func (*ProxyStatus) DeepCopyInto ¶
func (in *ProxyStatus) DeepCopyInto(out *ProxyStatus)
DeepCopyInto supports using ProxyStatus within kubernetes types, where deepcopy-gen is used.
func (*ProxyStatus) Descriptor
deprecated
func (*ProxyStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProxyStatus.ProtoReflect.Descriptor instead.
func (*ProxyStatus) GetLeaderElectionState ¶
func (x *ProxyStatus) GetLeaderElectionState() *LeaderElectionState
func (*ProxyStatus) GetMetaState ¶
func (x *ProxyStatus) GetMetaState() *MetaState
func (*ProxyStatus) GetSelfInfo ¶
func (x *ProxyStatus) GetSelfInfo() *SelfInfo
func (*ProxyStatus) ProtoMessage ¶
func (*ProxyStatus) ProtoMessage()
func (*ProxyStatus) ProtoReflect ¶
func (x *ProxyStatus) ProtoReflect() protoreflect.Message
func (*ProxyStatus) Reset ¶
func (x *ProxyStatus) Reset()
func (*ProxyStatus) String ¶
func (x *ProxyStatus) String() string
type RateLimiting ¶
type RateLimiting struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ResourceRules []*ResourceRule `protobuf:"bytes,2,rep,name=resourceRules,proto3" json:"resourceRules,omitempty"` RestRules []*RestRules `protobuf:"bytes,3,rep,name=restRules,proto3" json:"restRules,omitempty"` Bucket *Bucket `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"` TriggerPolicy RateLimiting_TriggerPolicy `protobuf:"varint,5,opt,name=triggerPolicy,proto3,enum=proto.RateLimiting_TriggerPolicy" json:"triggerPolicy,omitempty"` RecoverPolicy *RateLimiting_RecoverPolicy `protobuf:"bytes,6,opt,name=recoverPolicy,proto3" json:"recoverPolicy,omitempty"` ValidatePolicy string `protobuf:"bytes,7,opt,name=validatePolicy,proto3" json:"validatePolicy,omitempty"` Properties map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RateLimiting) DeepCopy ¶
func (in *RateLimiting) DeepCopy() *RateLimiting
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiting. Required by controller-gen.
func (*RateLimiting) DeepCopyInterface ¶
func (in *RateLimiting) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiting. Required by controller-gen.
func (*RateLimiting) DeepCopyInto ¶
func (in *RateLimiting) DeepCopyInto(out *RateLimiting)
DeepCopyInto supports using RateLimiting within kubernetes types, where deepcopy-gen is used.
func (*RateLimiting) Descriptor
deprecated
func (*RateLimiting) Descriptor() ([]byte, []int)
Deprecated: Use RateLimiting.ProtoReflect.Descriptor instead.
func (*RateLimiting) GetBucket ¶
func (x *RateLimiting) GetBucket() *Bucket
func (*RateLimiting) GetName ¶
func (x *RateLimiting) GetName() string
func (*RateLimiting) GetProperties ¶
func (x *RateLimiting) GetProperties() map[string]string
func (*RateLimiting) GetRecoverPolicy ¶
func (x *RateLimiting) GetRecoverPolicy() *RateLimiting_RecoverPolicy
func (*RateLimiting) GetResourceRules ¶
func (x *RateLimiting) GetResourceRules() []*ResourceRule
func (*RateLimiting) GetRestRules ¶
func (x *RateLimiting) GetRestRules() []*RestRules
func (*RateLimiting) GetTriggerPolicy ¶
func (x *RateLimiting) GetTriggerPolicy() RateLimiting_TriggerPolicy
func (*RateLimiting) GetValidatePolicy ¶
func (x *RateLimiting) GetValidatePolicy() string
func (*RateLimiting) ProtoMessage ¶
func (*RateLimiting) ProtoMessage()
func (*RateLimiting) ProtoReflect ¶
func (x *RateLimiting) ProtoReflect() protoreflect.Message
func (*RateLimiting) Reset ¶
func (x *RateLimiting) Reset()
func (*RateLimiting) String ¶
func (x *RateLimiting) String() string
type RateLimiting_RecoverPolicy ¶
type RateLimiting_RecoverPolicy struct { Type RateLimiting_RecoverType `protobuf:"varint,1,opt,name=type,proto3,enum=proto.RateLimiting_RecoverType" json:"type,omitempty"` SleepingWindowSize string `protobuf:"bytes,2,opt,name=sleepingWindowSize,proto3" json:"sleepingWindowSize,omitempty"` // contains filtered or unexported fields }
func (*RateLimiting_RecoverPolicy) DeepCopy ¶
func (in *RateLimiting_RecoverPolicy) DeepCopy() *RateLimiting_RecoverPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiting_RecoverPolicy. Required by controller-gen.
func (*RateLimiting_RecoverPolicy) DeepCopyInterface ¶
func (in *RateLimiting_RecoverPolicy) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RateLimiting_RecoverPolicy. Required by controller-gen.
func (*RateLimiting_RecoverPolicy) DeepCopyInto ¶
func (in *RateLimiting_RecoverPolicy) DeepCopyInto(out *RateLimiting_RecoverPolicy)
DeepCopyInto supports using RateLimiting_RecoverPolicy within kubernetes types, where deepcopy-gen is used.
func (*RateLimiting_RecoverPolicy) Descriptor
deprecated
func (*RateLimiting_RecoverPolicy) Descriptor() ([]byte, []int)
Deprecated: Use RateLimiting_RecoverPolicy.ProtoReflect.Descriptor instead.
func (*RateLimiting_RecoverPolicy) GetSleepingWindowSize ¶
func (x *RateLimiting_RecoverPolicy) GetSleepingWindowSize() string
func (*RateLimiting_RecoverPolicy) GetType ¶
func (x *RateLimiting_RecoverPolicy) GetType() RateLimiting_RecoverType
func (*RateLimiting_RecoverPolicy) ProtoMessage ¶
func (*RateLimiting_RecoverPolicy) ProtoMessage()
func (*RateLimiting_RecoverPolicy) ProtoReflect ¶
func (x *RateLimiting_RecoverPolicy) ProtoReflect() protoreflect.Message
func (*RateLimiting_RecoverPolicy) Reset ¶
func (x *RateLimiting_RecoverPolicy) Reset()
func (*RateLimiting_RecoverPolicy) String ¶
func (x *RateLimiting_RecoverPolicy) String() string
type RateLimiting_RecoverType ¶
type RateLimiting_RecoverType int32
const ( RateLimiting_RECOVER_POLICY_MANUAL RateLimiting_RecoverType = 0 RateLimiting_RECOVER_POLICY_SLEEPING_WINDOW RateLimiting_RecoverType = 1 )
func (RateLimiting_RecoverType) Descriptor ¶
func (RateLimiting_RecoverType) Descriptor() protoreflect.EnumDescriptor
func (RateLimiting_RecoverType) Enum ¶
func (x RateLimiting_RecoverType) Enum() *RateLimiting_RecoverType
func (RateLimiting_RecoverType) EnumDescriptor
deprecated
func (RateLimiting_RecoverType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RateLimiting_RecoverType.Descriptor instead.
func (RateLimiting_RecoverType) Number ¶
func (x RateLimiting_RecoverType) Number() protoreflect.EnumNumber
func (RateLimiting_RecoverType) String ¶
func (x RateLimiting_RecoverType) String() string
func (RateLimiting_RecoverType) Type ¶
func (RateLimiting_RecoverType) Type() protoreflect.EnumType
type RateLimiting_TriggerPolicy ¶
type RateLimiting_TriggerPolicy int32
const ( RateLimiting_TRIGGER_POLICY_NORMAL RateLimiting_TriggerPolicy = 0 RateLimiting_TRIGGER_POLICY_LIMITER_ONLY RateLimiting_TriggerPolicy = 1 RateLimiting_TRIGGER_POLICY_FORCE_OPENED RateLimiting_TriggerPolicy = 2 RateLimiting_TRIGGER_POLICY_FORCE_CLOSED RateLimiting_TriggerPolicy = 3 )
func (RateLimiting_TriggerPolicy) Descriptor ¶
func (RateLimiting_TriggerPolicy) Descriptor() protoreflect.EnumDescriptor
func (RateLimiting_TriggerPolicy) Enum ¶
func (x RateLimiting_TriggerPolicy) Enum() *RateLimiting_TriggerPolicy
func (RateLimiting_TriggerPolicy) EnumDescriptor
deprecated
func (RateLimiting_TriggerPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use RateLimiting_TriggerPolicy.Descriptor instead.
func (RateLimiting_TriggerPolicy) Number ¶
func (x RateLimiting_TriggerPolicy) Number() protoreflect.EnumNumber
func (RateLimiting_TriggerPolicy) String ¶
func (x RateLimiting_TriggerPolicy) String() string
func (RateLimiting_TriggerPolicy) Type ¶
func (RateLimiting_TriggerPolicy) Type() protoreflect.EnumType
type ResourceRequest ¶
type ResourceRequest struct { GR schema.GroupResource `json:"GR,omitempty"` ObjectSelector *metav1.LabelSelector `json:"objectSelector,omitempty"` }
type ResourceRule ¶
type ResourceRule struct { ApiGroups []string `protobuf:"bytes,1,rep,name=apiGroups,proto3" json:"apiGroups,omitempty"` Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` Verbs []string `protobuf:"bytes,3,rep,name=verbs,proto3" json:"verbs,omitempty"` Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*ResourceRule) DeepCopy ¶
func (in *ResourceRule) DeepCopy() *ResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRule. Required by controller-gen.
func (*ResourceRule) DeepCopyInterface ¶
func (in *ResourceRule) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRule. Required by controller-gen.
func (*ResourceRule) DeepCopyInto ¶
func (in *ResourceRule) DeepCopyInto(out *ResourceRule)
DeepCopyInto supports using ResourceRule within kubernetes types, where deepcopy-gen is used.
func (*ResourceRule) Descriptor
deprecated
func (*ResourceRule) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRule.ProtoReflect.Descriptor instead.
func (*ResourceRule) GetApiGroups ¶
func (x *ResourceRule) GetApiGroups() []string
func (*ResourceRule) GetNamespaces ¶
func (x *ResourceRule) GetNamespaces() []string
func (*ResourceRule) GetResources ¶
func (x *ResourceRule) GetResources() []string
func (*ResourceRule) GetVerbs ¶
func (x *ResourceRule) GetVerbs() []string
func (*ResourceRule) ProtoMessage ¶
func (*ResourceRule) ProtoMessage()
func (*ResourceRule) ProtoReflect ¶
func (x *ResourceRule) ProtoReflect() protoreflect.Message
func (*ResourceRule) Reset ¶
func (x *ResourceRule) Reset()
func (*ResourceRule) String ¶
func (x *ResourceRule) String() string
type RestRules ¶
type RestRules struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*RestRules) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestRules. Required by controller-gen.
func (*RestRules) DeepCopyInterface ¶
func (in *RestRules) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RestRules. Required by controller-gen.
func (*RestRules) DeepCopyInto ¶
DeepCopyInto supports using RestRules within kubernetes types, where deepcopy-gen is used.
func (*RestRules) Descriptor
deprecated
func (*RestRules) ProtoMessage ¶
func (*RestRules) ProtoMessage()
func (*RestRules) ProtoReflect ¶
func (x *RestRules) ProtoReflect() protoreflect.Message
type SelfInfo ¶
type SelfInfo struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SelfInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfInfo. Required by controller-gen.
func (*SelfInfo) DeepCopyInterface ¶
func (in *SelfInfo) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SelfInfo. Required by controller-gen.
func (*SelfInfo) DeepCopyInto ¶
DeepCopyInto supports using SelfInfo within kubernetes types, where deepcopy-gen is used.
func (*SelfInfo) Descriptor
deprecated
func (*SelfInfo) GetNamespace ¶
func (*SelfInfo) ProtoMessage ¶
func (*SelfInfo) ProtoMessage()
func (*SelfInfo) ProtoReflect ¶
func (x *SelfInfo) ProtoReflect() protoreflect.Message
type SpecMeta ¶
type SpecMeta struct { ShardName string `protobuf:"bytes,1,opt,name=shardName,proto3" json:"shardName,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*SpecMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecMeta. Required by controller-gen.
func (*SpecMeta) DeepCopyInterface ¶
func (in *SpecMeta) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new SpecMeta. Required by controller-gen.
func (*SpecMeta) DeepCopyInto ¶
DeepCopyInto supports using SpecMeta within kubernetes types, where deepcopy-gen is used.
func (*SpecMeta) Descriptor
deprecated
func (*SpecMeta) GetShardName ¶
func (*SpecMeta) ProtoMessage ¶
func (*SpecMeta) ProtoMessage()
func (*SpecMeta) ProtoReflect ¶
func (x *SpecMeta) ProtoReflect() protoreflect.Message
type TrafficInterceptRule ¶
type TrafficInterceptRule struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` InterceptType TrafficInterceptRule_InterceptType `` /* 126-byte string literal not displayed */ ContentType TrafficInterceptRule_ContentType `protobuf:"varint,3,opt,name=contentType,proto3,enum=proto.TrafficInterceptRule_ContentType" json:"contentType,omitempty"` Contents []string `protobuf:"bytes,4,rep,name=contents,proto3" json:"contents,omitempty"` Methods []string `protobuf:"bytes,5,rep,name=methods,proto3" json:"methods,omitempty"` // contains filtered or unexported fields }
func (*TrafficInterceptRule) DeepCopy ¶
func (in *TrafficInterceptRule) DeepCopy() *TrafficInterceptRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficInterceptRule. Required by controller-gen.
func (*TrafficInterceptRule) DeepCopyInterface ¶
func (in *TrafficInterceptRule) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TrafficInterceptRule. Required by controller-gen.
func (*TrafficInterceptRule) DeepCopyInto ¶
func (in *TrafficInterceptRule) DeepCopyInto(out *TrafficInterceptRule)
DeepCopyInto supports using TrafficInterceptRule within kubernetes types, where deepcopy-gen is used.
func (*TrafficInterceptRule) Descriptor
deprecated
func (*TrafficInterceptRule) Descriptor() ([]byte, []int)
Deprecated: Use TrafficInterceptRule.ProtoReflect.Descriptor instead.
func (*TrafficInterceptRule) GetContentType ¶
func (x *TrafficInterceptRule) GetContentType() TrafficInterceptRule_ContentType
func (*TrafficInterceptRule) GetContents ¶
func (x *TrafficInterceptRule) GetContents() []string
func (*TrafficInterceptRule) GetInterceptType ¶
func (x *TrafficInterceptRule) GetInterceptType() TrafficInterceptRule_InterceptType
func (*TrafficInterceptRule) GetMethods ¶
func (x *TrafficInterceptRule) GetMethods() []string
func (*TrafficInterceptRule) GetName ¶
func (x *TrafficInterceptRule) GetName() string
func (*TrafficInterceptRule) ProtoMessage ¶
func (*TrafficInterceptRule) ProtoMessage()
func (*TrafficInterceptRule) ProtoReflect ¶
func (x *TrafficInterceptRule) ProtoReflect() protoreflect.Message
func (*TrafficInterceptRule) Reset ¶
func (x *TrafficInterceptRule) Reset()
func (*TrafficInterceptRule) String ¶
func (x *TrafficInterceptRule) String() string
type TrafficInterceptRule_ContentType ¶
type TrafficInterceptRule_ContentType int32
const ( TrafficInterceptRule_NORMAL TrafficInterceptRule_ContentType = 0 TrafficInterceptRule_REGEXP TrafficInterceptRule_ContentType = 1 )
func (TrafficInterceptRule_ContentType) Descriptor ¶
func (TrafficInterceptRule_ContentType) Descriptor() protoreflect.EnumDescriptor
func (TrafficInterceptRule_ContentType) Enum ¶
func (x TrafficInterceptRule_ContentType) Enum() *TrafficInterceptRule_ContentType
func (TrafficInterceptRule_ContentType) EnumDescriptor
deprecated
func (TrafficInterceptRule_ContentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TrafficInterceptRule_ContentType.Descriptor instead.
func (TrafficInterceptRule_ContentType) Number ¶
func (x TrafficInterceptRule_ContentType) Number() protoreflect.EnumNumber
func (TrafficInterceptRule_ContentType) String ¶
func (x TrafficInterceptRule_ContentType) String() string
func (TrafficInterceptRule_ContentType) Type ¶
func (TrafficInterceptRule_ContentType) Type() protoreflect.EnumType
type TrafficInterceptRule_InterceptType ¶
type TrafficInterceptRule_InterceptType int32
const ( TrafficInterceptRule_INTERCEPT_WHITELIST TrafficInterceptRule_InterceptType = 0 TrafficInterceptRule_INTERCEPT_BLACKLIST TrafficInterceptRule_InterceptType = 1 )
func (TrafficInterceptRule_InterceptType) Descriptor ¶
func (TrafficInterceptRule_InterceptType) Descriptor() protoreflect.EnumDescriptor
func (TrafficInterceptRule_InterceptType) Enum ¶
func (x TrafficInterceptRule_InterceptType) Enum() *TrafficInterceptRule_InterceptType
func (TrafficInterceptRule_InterceptType) EnumDescriptor
deprecated
func (TrafficInterceptRule_InterceptType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TrafficInterceptRule_InterceptType.Descriptor instead.
func (TrafficInterceptRule_InterceptType) Number ¶
func (x TrafficInterceptRule_InterceptType) Number() protoreflect.EnumNumber
func (TrafficInterceptRule_InterceptType) String ¶
func (x TrafficInterceptRule_InterceptType) String() string
func (TrafficInterceptRule_InterceptType) Type ¶
func (TrafficInterceptRule_InterceptType) Type() protoreflect.EnumType