- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for Muth (0.12 sec)
-
cmd/auth-handler_test.go
"bytes" "context" "io" "net/http" "net/url" "os" "testing" "time" "github.com/minio/minio/internal/auth" "github.com/minio/pkg/v2/policy" ) type nullReader struct{} func (r *nullReader) Read(b []byte) (int, error) { return len(b), nil } // Test get request auth type. func TestGetRequestAuthType(t *testing.T) { type testCase struct { req *http.Request authT authType }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 15.4K bytes - Viewed (0) -
internal/config/identity/tls/config.go
if dsecs == "" { return defaultExpiry, nil } d, err := strconv.Atoi(dsecs) if err != nil { return 0, auth.ErrInvalidDuration } dur := time.Duration(d) * time.Second if dur < minExpiry || dur > maxExpiry { return 0, auth.ErrInvalidDuration } return dur, nil } // Lookup returns a new Config by merging the given K/V config // system with environment variables.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 3.6K bytes - Viewed (0) -
istioctl/cmd/istioctl/main.go
// See the License for the specific language governing permissions and // limitations under the License. package main import ( "fmt" "os" // import all known client auth plugins _ "k8s.io/client-go/plugin/pkg/client/auth" "istio.io/istio/istioctl/cmd" "istio.io/istio/pkg/log" ) func main() { if err := cmd.ConfigAndEnvProcessing(); err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 1.1K bytes - Viewed (0) -
cmd/bucket-policy.go
return &PolicySys{} } func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string { m := make(map[string][]string) if d := r.Form.Get("DurationSeconds"); d != "" { m["DurationSeconds"] = []string{d} } return m } func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string { currTime := UTCNow() var ( username = cred.AccessKey
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 8K bytes - Viewed (0) -
cmd/auth-handler.go
return authTypeAnonymous } return authTypeUnknown } func validateAdminSignature(ctx context.Context, r *http.Request, region string) (auth.Credentials, bool, APIErrorCode) { var cred auth.Credentials var owner bool s3Err := ErrAccessDenied if _, ok := r.Header[xhttp.AmzContentSha256]; ok && getRequestAuthType(r) == authTypeSigned {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 26K bytes - Viewed (0) -
internal/config/constants.go
EnvMinIOLogQueryURL = "MINIO_LOG_QUERY_URL" EnvMinIOLogQueryAuthToken = "MINIO_LOG_QUERY_AUTH_TOKEN" EnvMinIOPrometheusURL = "MINIO_PROMETHEUS_URL" EnvMinIOPrometheusJobID = "MINIO_PROMETHEUS_JOB_ID" EnvMinIOPrometheusExtraLabels = "MINIO_PROMETHEUS_EXTRA_LABELS" EnvMinIOPrometheusAuthToken = "MINIO_PROMETHEUS_AUTH_TOKEN" EnvUpdate = "MINIO_UPDATE" EnvEndpoints = "MINIO_ENDPOINTS" // legacy
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 01 16:36:33 GMT 2024 - 3.4K bytes - Viewed (3) -
internal/logger/reqinfo.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package logger import ( "context" "fmt" "sync" "github.com/minio/minio/internal/auth" ) // Key used for Get/SetReqInfo type contextKeyType string const contextLogKey = contextKeyType("miniolog") // KeyVal - appended to ReqInfo.Tags type KeyVal struct { Key string Val interface{}
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 4.4K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "encoding/xml" "net/http" "net/http/httptest" "testing" "github.com/minio/minio/internal/auth" ) // Test S3 Bucket lifecycle APIs with wrong credentials func TestBucketLifecycleWrongCredentials(t *testing.T) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 13 20:52:33 GMT 2023 - 11.2K bytes - Viewed (0) -
cmd/test-utils_test.go
func TestMain(m *testing.M) { flag.Parse() // set to 'true' when testing is invoked globalIsTesting = true globalIsCICD = globalIsTesting globalActiveCred = auth.Credentials{ AccessKey: auth.DefaultAccessKey, SecretKey: auth.DefaultSecretKey, } // disable ENVs which interfere with tests. for _, env := range []string{ crypto.EnvKMSAutoEncryption, config.EnvAccessKey, config.EnvSecretKey,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
internal/grid/connection.go
dialer: o.dial, side: ws.StateServerSide, connChange: &sync.Cond{L: &sync.Mutex{}}, handlers: o.handlers, auth: o.auth, header: make(http.Header, 1), remote: &RemoteClient{Name: o.remote}, clientPingInterval: clientPingInterval, connPingInterval: connPingInterval,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 42.6K bytes - Viewed (0)