You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/ingresscache/types.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -32,14 +32,14 @@ type IngressHostCache interface {
32
32
}
33
33
34
34
typeIngressHostsTreeinterface {
35
-
// SetFunctionName sets a function for a given path. Will overwrite existing values if the path already exists
36
-
SetFunctionName(pathstring, functionstring) error
35
+
// Set sets a function for a given path. Will overwrite existing values if the path already exists
36
+
Set(pathstring, functionstring) error
37
37
38
-
// DeleteFunctionName removes the function from the given path and deletes the deepest suffix used only by that function; does nothing if the path or function doesn't exist.
// Delete removes the function from the given path and deletes the deepest suffix used only by that function; does nothing if the path or function doesn't exist.
39
+
Delete(pathstring, functionstring) error
40
40
41
-
// GetFunctionNames retrieves the best matching function names for a given path based on longest prefix match
42
-
GetFunctionNames(pathstring) ([]string, error)
41
+
// Get retrieves the best matching function names for a given path based on longest prefix match
0 commit comments