GO-2024-3358: SQL injection in Apache Traffic Control in github.com/apache/trafficcontrol
The highest tagged major version is
v8.
package
Version:
v7.0.0-rc0+incompatible
Opens a new window with list of versions in this module.
Published: Jul 19, 2022
License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
-
func Equal(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
-
func Error(t *testing.T, err error, msgAndArgs ...interface{}) bool
-
func Exactly(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
-
func GreaterOrEqual(t *testing.T, a, b int, msgAndArgs ...interface{}) bool
-
func NoError(t *testing.T, err error, msgAndArgs ...interface{}) bool
-
func NotEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
-
func NotNil(t *testing.T, a interface{}, msgAndArgs ...interface{}) bool
-
func RequireEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{})
-
func RequireGreaterOrEqual(t *testing.T, a, b int, msgAndArgs ...interface{})
-
func RequireNoError(t *testing.T, err error, msgAndArgs ...interface{})
-
func RequireNotEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{})
-
func RequireNotNil(t *testing.T, a interface{}, msgAndArgs ...interface{})
func Equal(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
Equal asserts that two objects are equal.
Error asserts that a function returned an error (i.e. not `nil`).
func Exactly(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
Exactly asserts that two objects are equal in value and type.
func GreaterOrEqual(t *testing.T, a, b int, msgAndArgs ...interface{}) bool
GreaterOrEqual asserts that the first element is greater than or equal to the second
NoError asserts that a function returned no error (i.e. `nil`).
func NotEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
NotEqual asserts that two objects are NOT equal.
func NotNil(t *testing.T, a interface{}, msgAndArgs ...interface{}) bool
NotNil asserts that the specified object is not nil.
func RequireEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{})
RequireEqual asserts that two objects are equal.
It marks the test as failed and stops execution.
func RequireGreaterOrEqual(t *testing.T, a, b int, msgAndArgs ...interface{})
RequireGreaterOrEqual asserts that the first element is greater than or equal to the second
It marks the test as failed and stops execution.
func RequireNoError(t *testing.T, err error, msgAndArgs ...interface{})
RequireNoError asserts that a function returned no error (i.e. `nil`).
It marks the test as failed and stops execution.
func RequireNotEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{})
RequireNotEqual asserts that two objects are NOT equal.
It marks the test as failed and stops execution.
func RequireNotNil(t *testing.T, a interface{}, msgAndArgs ...interface{})
RequireNotNil asserts that the specified object is not nil.
It marks the test as failed and stops execution.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.