- Sort Score
- Result 10 results
- Languages All
Results 1261 - 1270 of 1,384 for FUNC (0.04 sec)
-
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) -
internal/config/compress/compress.go
Value: DefaultExtensions, }, config.KV{ Key: MimeTypes, Value: DefaultMimeTypes, }, } ) // Parses the given compression exclude list `extensions` or `content-types`. func parseCompressIncludes(include string) ([]string, error) { includes := strings.Split(include, config.ValueSeparator) for _, e := range includes { if len(e) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5K bytes - Viewed (0) -
docs/sts/assume-role.go
// Credential expiry duration expiryDuration time.Duration // Bucket to list bucketToList string // Session policy file (FIXME: add support in minio-go) sessionPolicyFile string ) func init() { flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint") flag.StringVar(&minioUsername, "u", "", "MinIO Username") flag.StringVar(&minioPassword, "p", "", "MinIO Password")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/admin-server-info.go
"github.com/minio/minio/internal/kms" xnet "github.com/minio/pkg/v3/net" ) // getLocalServerProperty - returns madmin.ServerProperties for only the // local endpoints from given list of endpoints func getLocalServerProperty(endpointServerPools EndpointServerPools, r *http.Request, metrics bool) madmin.ServerProperties { addr := globalLocalNodeName if r != nil { addr = r.Host } if globalIsDistErasure {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/bucket/lifecycle/noncurrentversion_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 "testing" func Test_NoncurrentVersionsExpiration_Validation(t *testing.T) { testcases := []struct { n NoncurrentVersionExpiration err error }{ { n: NoncurrentVersionExpiration{ NoncurrentDays: 0,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 14 17:41:44 UTC 2021 - 2.1K bytes - Viewed (0) -
internal/config/batch/help.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package batch import "github.com/minio/minio/internal/config" // Help template for batch feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } // Help provides help for config values Help = config.HelpKVS{ config.HelpKV{ Key: ReplicationWorkersWait,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 1.8K bytes - Viewed (0) -
internal/config/policy/plugin/help.go
package plugin import "github.com/minio/minio/internal/config" // Help template for Access Management Plugin policy feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{ Key: URL,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 23 14:45:27 UTC 2023 - 1.8K bytes - Viewed (0)