Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for Struct (0.16 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/api.go

    }
    
    type ApplicationTunnel struct {
    	Protocol string  `json:"protocol"`
    	Port     *uint16 `json:"port,omitempty"`
    }
    
    type Waypoint struct {
    	Destination string `json:"destination"`
    }
    
    type LoadBalancer struct {
    	Mode               string   `json:"mode"`
    	RoutingPreferences []string `json:"routingPreferences"`
    }
    
    type ZtunnelService struct {
    	Name         string         `json:"name"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. schema/relationship_test.go

    	})
    }
    
    func TestEmbeddedBelongsTo(t *testing.T) {
    	type Country struct {
    		ID   int `gorm:"primaryKey"`
    		Name string
    	}
    	type Address struct {
    		CountryID int
    		Country   Country
    	}
    	type NestedAddress struct {
    		Address
    	}
    	type CountryMixin struct {
    		CountryID int
    		Country   Country
    	}
    	type Org struct {
    		ID              int
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. cmd/object-api-errors.go

    type InvalidETag struct{}
    
    func (e InvalidETag) Error() string {
    	return "etag of the object has changed"
    }
    
    // BackendDown is returned for network errors
    type BackendDown struct {
    	Err string
    }
    
    func (e BackendDown) Error() string {
    	return e.Err
    }
    
    // NotImplemented If a feature is not implemented
    type NotImplemented struct {
    	Message string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/fakes_test.go

    	f.addedPods.Add(1)
    	return f.addError
    }
    
    func (f *fakeZtunnel) Close() error {
    	return nil
    }
    
    // fakeNs is a mock struct for testing
    type fakeNs struct {
    	closed *atomic.Bool
    	fd     uintptr
    	inode  uint64
    }
    
    func newFakeNs(fd uintptr) *fakeNs {
    	// the fake inode is the fd! magic.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    type RenameDataResp struct {
    	Sign       []byte
    	OldDataDir string // contains '<uuid>', it is designed to be passed as value to Delete(bucket, pathJoin(object, dataDir))
    }
    
    // LocalDiskIDs - GetLocalIDs response.
    type LocalDiskIDs struct {
    	IDs []string
    }
    
    // ListDirResult - ListDir()'s response.
    type ListDirResult struct {
    	Entries []string `msg:"e"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. istioctl/pkg/util/configdump/wrapper.go

    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.ConfigDump
    }
    
    // UnmarshalJSON is a custom unmarshaller to handle protobuf pain
    func (w *Wrapper) UnmarshalJSON(b []byte) error {
    	cd := &admin.ConfigDump{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. internal/config/server.go

    type Opts struct {
    	FTP struct {
    		Address          string `yaml:"address"`
    		PassivePortRange string `yaml:"passive-port-range"`
    	} `yaml:"ftp"`
    	SFTP struct {
    		Address       string `yaml:"address"`
    		SSHPrivateKey string `yaml:"ssh-private-key"`
    	} `yaml:"sftp"`
    }
    
    // ServerConfigVersion struct is used to extract the version
    type ServerConfigVersion struct {
    	Version string `yaml:"version"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. internal/event/name_test.go

    package event
    
    import (
    	"encoding/json"
    	"encoding/xml"
    	"reflect"
    	"testing"
    )
    
    func TestNameExpand(t *testing.T) {
    	testCases := []struct {
    		name           Name
    		expectedResult []Name
    	}{
    		{BucketCreated, []Name{BucketCreated}},
    		{BucketRemoved, []Name{BucketRemoved}},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    type dataUsageCacheV2 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV2
    }
    
    // dataUsageCacheV3 contains a cache of data usage entries version 3.
    type dataUsageCacheV3 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV3
    }
    
    // dataUsageCacheV4 contains a cache of data usage entries version 4.
    type dataUsageCacheV4 struct {
    	Info  dataUsageCacheInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  10. cmd/bucket-lifecycle.go

    // by NewerNoncurrentVersions
    type newerNoncurrentTask struct {
    	bucket   string
    	versions []ObjectToDelete
    	event    lifecycle.Event
    }
    
    type transitionTask struct {
    	objInfo ObjectInfo
    	src     lcEventSrc
    	event   lifecycle.Event
    }
    
    type transitionState struct {
    	transitionCh chan transitionTask
    
    	ctx        context.Context
    	objAPI     ObjectLayer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top