apisix

package
v0.0.0-...-39db037 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package apisix provides some utility functions which are related to the APISIX resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareRoutes

func CompareRoutes(r1, r2 []*apisix.Route) (added, deleted, updated []*apisix.Route)

CompareRoutes diffs two apisix.Route array and finds the new adds, updates and deleted ones. Note it stands on the first apisix.Route array's point of view.

func CompareUpstreams

func CompareUpstreams(u1, u2 []*apisix.Upstream) (added, deleted, updated []*apisix.Upstream)

CompareUpstreams diffs two apisix.Upstreams array and finds the new adds, updates and deleted ones. Note it stands on the first apisix.Upstream array's point of view.

Types

This section is empty.

Jump to

Keyboard shortcuts

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