- Sort Score
- Result 10 results
- Languages All
Results 1241 - 1250 of 1,405 for rfunc (0.02 sec)
-
internal/event/target/mysql_test.go
package target import ( "database/sql" "testing" ) // TestPostgreSQLRegistration checks if sql driver // is registered and fails otherwise. func TestMySQLRegistration(t *testing.T) { var found bool for _, drv := range sql.Drivers() { if drv == "mysql" { found = true break } } if !found { t.Fatal("mysql driver not registered") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 02 14:53:13 UTC 2023 - 1.1K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs_contrib_test.go
* See the License for the specific language governing permissions and * limitations under the License. */ package sql import "testing" func TestEvalSQLSubstring(t *testing.T) { evalCases := []struct { s string startIdx int length int resExpected string errExpected error }{ {"abcd", 1, 1, "a", nil},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.2K bytes - Viewed (0) -
istioctl/pkg/util/configdump/ecds.go
// limitations under the License. package configdump import ( admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" ) // GetEcdsConfigDump retrieves the extension config dump from the ConfigDump func (w *Wrapper) GetEcdsConfigDump() (*admin.EcdsConfigDump, error) { ecdsDumpAny, err := w.getSections(ecds) if err != nil { return nil, err } ecdsDump := &admin.EcdsConfigDump{} for _, dump := range ecdsDumpAny {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Dec 24 08:16:26 UTC 2023 - 1.2K bytes - Viewed (0) -
cmd/http-tracer_test.go
// You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" ) // Test redactLDAPPwd() func TestRedactLDAPPwd(t *testing.T) { testCases := []struct { query string expectedQuery string }{ {"", ""}, {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.8K bytes - Viewed (0) -
internal/config/storageclass/help.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package storageclass import "github.com/minio/minio/internal/config" // Help template for storageclass feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{ Key: ClassStandard,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 26 22:06:19 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/config/compress/help.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package compress import "github.com/minio/minio/internal/config" // Help template for compress feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{ Key: config.Enable, Description: "Enable or disable object compression",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 1.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/options.go
// but it allows us to directly get the final values for each of these flags without needing // to pass pointers-to-flags through all of the (sub)commands. func (o *KubeOptions) prepare(ctx cli.Context) { o.Namespace = ctx.Namespace() if o.Namespace == "" { o.Namespace = ctx.IstioNamespace() configAccess := clientcmd.NewDefaultPathOptions()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 01 23:59:49 UTC 2023 - 1.6K bytes - Viewed (0) -
internal/bucket/lifecycle/rule_test.go
package lifecycle import ( "encoding/xml" "fmt" "testing" ) // TestInvalidRules checks if Rule xml with invalid elements returns // appropriate errors on validation func TestInvalidRules(t *testing.T) { invalidTestCases := []struct { inputXML string expectedErr error }{ { // Rule with ID longer than 255 characters inputXML: ` <Rule>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/config/identity/tls/config.go
} const ( defaultExpiry time.Duration = 1 * time.Hour minExpiry time.Duration = 15 * time.Minute maxExpiry time.Duration = 365 * 24 * time.Hour ) // GetExpiryDuration - return parsed expiry duration. func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) { if dsecs == "" { return defaultExpiry, nil } d, err := strconv.Atoi(dsecs) if err != nil { return 0, auth.ErrInvalidDuration }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.6K bytes - Viewed (0) -
clause/where_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 6.2K bytes - Viewed (0)