- Sort Score
- Result 10 results
- Languages All
Results 1271 - 1280 of 1,387 for funcs (0.04 sec)
-
internal/config/identity/ldap/legacy.go
LookupBindDN string `json:"lookupBindDN"` LookupBindPassword string `json:"lookupBindPassword"` } // SetIdentityLDAP - One time migration code needed, for migrating from older config to new for LDAPConfig. func SetIdentityLDAP(s config.Config, ldapArgs LegacyConfig) { if !ldapArgs.Enabled { // ldap not enabled no need to preserve it in new settings. return } s[config.IdentityLDAPSubSys][config.Default] = config.KVS{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 08 05:12:36 UTC 2022 - 2.2K bytes - Viewed (0) -
tests/non_std_test.go
From string // test reserved sql keyword as field name Age *time.Time unexported string // unexported value CreatedAt time.Time UpdatedAt time.Time } func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) { DB.Migrator().DropTable(&Animal{}) if err := DB.AutoMigrate(&Animal{}); err != nil { t.Fatalf("no error should happen when migrate but got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/lock-rest-client_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "testing" "github.com/minio/minio/internal/dsync" ) // Tests lock rpc client. func TestLockRESTlient(t *testing.T) { // These should not be connectable. endpoint, err := NewEndpoint("http://localhost:9876") if err != nil { t.Fatalf("unexpected error %v", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 2K bytes - Viewed (0) -
cmd/metrics-v3-system-memory.go
memSharedMD = NewGaugeMD(memShared, "Shared memory on the node") memAvailableMD = NewGaugeMD(memAvailable, "Available memory on the node") ) // loadMemoryMetrics - `MetricsLoaderFn` for node memory metrics. func loadMemoryMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { memMetrics, err := c.memoryMetrics.Get() if err != nil { metricsLogIf(ctx, err) return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 17 05:10:25 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/bucket/lifecycle/transition_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 lifecycle import ( "encoding/xml" "testing" ) func TestTransitionUnmarshalXML(t *testing.T) { trTests := []struct { input string err error }{ { input: `<Transition> <Days>0</Days> <StorageClass>S3TIER-1</StorageClass> </Transition>`,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 01 18:58:17 UTC 2021 - 2.3K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
ExpectedOutput string // Expected constant output ExpectedRegexp *regexp.Regexp // Expected regexp output GoldenFilename string // Expected output stored in golden file WantException bool } func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) { t.Helper() cmd.SetArgs(c.Args) var out bytes.Buffer cmd.SetOut(&out) cmd.SetErr(&out) cmd.SilenceUsage = true fErr := cmd.Execute()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2K bytes - Viewed (0) -
fastapi/routing.py
) -> Callable[[DecoratedCallable], DecoratedCallable]: def decorator(func: DecoratedCallable) -> DecoratedCallable: self.add_route( path, func, methods=methods, name=name, include_in_schema=include_in_schema, ) return func return decorator def add_api_route( self,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
internal/config/browser/help.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package browser import "github.com/minio/minio/internal/config" // Help template for browser feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{ Key: browserCSPPolicy,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 01 16:36:33 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/config/compress/legacy.go
EnvCompressMimeTypesLegacy2 = "MINIO_COMPRESS_MIME_TYPES" ) // SetCompressionConfig - One time migration code needed, for migrating from older config to new for Compression. func SetCompressionConfig(s config.Config, cfg Config) { if !cfg.Enabled { // No need to save disabled settings in new config. return } s[config.CompressionSubSys][config.Default] = config.KVS{ config.KV{
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/writer/compare/cluster.go
import ( "bytes" "fmt" "github.com/pmezard/go-difflib/difflib" "istio.io/istio/pkg/util/protomarshal" ) // ClusterDiff prints a diff between Istiod and Envoy clusters to the passed writer func (c *Comparator) ClusterDiff() error { envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{} envoyClusterDump, err := c.envoy.GetDynamicClusterDump(true) if err != nil { envoyBytes.WriteString(err.Error()) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 1.9K bytes - Viewed (0)