Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 1,384 for funcs (0.03 sec)

  1. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. internal/ioutil/append-file_windows.go

    package ioutil
    
    import (
    	"io"
    	"os"
    
    	"github.com/minio/minio/internal/lock"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. cmd/setup-type.go

    	ErasureSDSetupType
    
    	// ErasureSetupType - Erasure setup type enum.
    	ErasureSetupType
    
    	// DistErasureSetupType - Distributed Erasure setup type enum.
    	DistErasureSetupType
    )
    
    func (setupType SetupType) String() string {
    	switch setupType {
    	case FSSetupType:
    		return globalMinioModeFS
    	case ErasureSDSetupType:
    		return globalMinioModeErasureSD
    	case ErasureSetupType:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. 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)
  5. internal/config/identity/ldap/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ldap
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for LDAP identity feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         ServerAddr,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. cni/pkg/repair/repair_test_helpers.go

    	PodName             string
    	Labels              map[string]string
    	Annotations         map[string]string
    	InitContainerName   string
    	InitContainerStatus *corev1.ContainerStatus
    	NodeName            string
    }
    
    func makePod(args makePodArgs) *corev1.Pod {
    	pod := &corev1.Pod{
    		TypeMeta: metav1.TypeMeta{
    			Kind:       "Pod",
    			APIVersion: "v1",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        args.PodName,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 12 17:39:53 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. internal/event/event.go

    	S3                Metadata          `json:"s3"`
    	Source            Source            `json:"source"`
    	Type              madmin.TraceType  `json:"-"`
    }
    
    // Mask returns the type as mask.
    func (e Event) Mask() uint64 {
    	return e.EventName.Mask()
    }
    
    // Log represents event information for some event targets.
    type Log struct {
    	EventName Name
    	Key       string
    	Records   []Event
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. internal/config/notify/config.go

    	Webhook       map[string]target.WebhookArgs       `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize notification config.
    func NewConfig() Config {
    	// Make sure to initialize notification targets
    	cfg := Config{
    		NSQ:           make(map[string]target.NSQArgs),
    		AMQP:          make(map[string]target.AMQPArgs),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  9. internal/config/policy/opa/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package opa
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for OPA 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.6K bytes
    - Viewed (0)
  10. internal/config/scanner/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package scanner
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help provides help for config values
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Speed,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:41:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top