package
0.0.0-20230602024321-8e6f2e6d444b
Repository: https://github.com/oldthreefeng/mycli.git
Documentation: pkg.go.dev
# Functions
ComposeRouteName uses namespace, name and rule name to compose the route name.
ComposeUpstreamName uses namespace, name and port info to compose the upstream name.
No description provided by the author
NewDefaultUpstream returns an empty Upstream with default values.
No description provided by the author
No description provided by the author
# Constants
ActiveHealthCheckMinInterval is the minimum interval for the active health check.
Default connect, read and send timeout (in seconds) with upstreams.
HashOnConsumer means the hash scope is APISIX consumer.
HashOnCookie means the hash scope is HTTP Cookie.
HashOnHeader means the hash scope is HTTP request headers.
HashOnVars means the hash scope is variable.
HashVarsCombination means the hash scope is the variable combination.
HealthCheckHTTP represents the HTTP kind health check.
HealthCheckHTTPS represents the HTTPS kind health check.
HealthCheckMaxConsecutiveNumber is the max number for the consecutive success/failure in upstream health check.
HealthCheckTCP represents the TCP kind health check.
LbConsistentHash is the consistent hash load balancer.
LbEwma is the ewma load balancer.
LbLeaseConn is the least connection load balancer.
LbRoundRobin is the round robin load balancer.
SchemeGRPC represents the GRPC protocol.
SchemeHTTP represents the HTTP protocol.
# Variables
ErrClusterNotExist means a cluster doesn't exist.
ErrDuplicatedCluster means the cluster adding request was rejected since the cluster was already created.
# Structs
No description provided by the author
Metadata contains all meta information about resources.
Route apisix route object +k8s:deepcopy-gen=true.
Service apisix service +k8s:deepcopy-gen=true.
Ssl apisix ssl object +k8s:deepcopy-gen=true.
Upstream is the apisix upstream definition.
UpstreamActiveHealthCheck defines the active kind of upstream health check.
UpstreamActiveHealthCheckHealthy defines the conditions to judge whether an upstream node is healthy with the active manner.
UpstreamActiveHealthCheckUnhealthy defines the conditions to judge whether an upstream node is unhealthy with the active manager.
UpstreamHealthCheck defines the active and/or passive health check for an Upstream, with the upstream health check feature, pods can be kicked out or joined in quickly, if the feedback of Kubernetes liveness/readiness probe is long.
Node the node in upstream +k8s:deepcopy-gen=true.
UpstreamPassiveHealthCheck defines the passive kind of upstream health check.
UpstreamPassiveHealthCheckHealthy defines the conditions to judge whether an upstream node is healthy with the passive manner.
UpstreamPassiveHealthCheckUnhealthy defines the conditions to judge whether an upstream node is unhealthy with the passive manager.
UpstreamTimeout represents the timeout settings on Upstream.
# Interfaces
SSL is the specific client interface to take over the create, update, list and delete for APISIX's SSL resource.
# Type aliases
No description provided by the author