Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,843 for lake (0.06 sec)

  1. pilot/test/xds/fake.go

    		objects = append(objects, o)
    	}
    	return objects, nil
    }
    
    // DisableAuthorizationForSecret makes the authorization check always pass. Should be used only for tests.
    func DisableAuthorizationForSecret(fake *fake.Clientset) {
    	fake.Fake.PrependReactor("create", "subjectaccessreviews", func(action k8stesting.Action) (bool, runtime.Object, error) {
    		return true, &authorizationv1.SubjectAccessReview{
    			Status: authorizationv1.SubjectAccessReviewStatus{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/audit/fake/fake.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package fake
    
    import (
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/audit"
    )
    
    var _ audit.Backend = &Backend{}
    
    // Backend is a fake audit backend for testing purposes.
    type Backend struct {
    	OnRequest func(events []*auditinternal.Event)
    }
    
    // Run does nothing.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 16 09:32:49 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/ipset/testing/fake.go

    	Entries map[string]sets.String
    }
    
    // NewFake create a new fake ipset interface - it initialize the FakeIPSet.
    func NewFake(version string) *FakeIPSet {
    	return &FakeIPSet{
    		Version: version,
    		Sets:    make(map[string]*ipset.IPSet),
    		Entries: make(map[string]sets.String),
    	}
    }
    
    // GetVersion is part of interface.
    func (f *FakeIPSet) GetVersion() (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. pkg/test/framework/components/environment/kube/fake.go

    	return false
    }
    
    func (f FakeEnvironment) EnvironmentName() string {
    	if len(f.Name) == 0 {
    		return "fake"
    	}
    	return f.Name
    }
    
    func (f FakeEnvironment) AllClusters() cluster.Clusters {
    	res := cluster.Clusters{}
    	allClusters := make(cluster.Map)
    
    	for i := 0; i < f.NumClusters; i++ {
    		topo := cluster.NewTopology(cluster.Config{
    			Name:               fmt.Sprintf("cluster-%d", i),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/testing/fake.go

    	IsIPv6 bool
    }
    
    // NewFakeNetlinkHandle will create a new FakeNetlinkHandle
    func NewFakeNetlinkHandle(isIPv6 bool) *FakeNetlinkHandle {
    	fake := &FakeNetlinkHandle{
    		localAddresses: make(map[string][]string),
    		IsIPv6:         isIPv6,
    	}
    	return fake
    }
    
    // EnsureAddressBind is a mock implementation
    func (h *FakeNetlinkHandle) EnsureAddressBind(address, devName string) (exist bool, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/fake.go

    		ServiceEntryRegistry: se,
    	}
    	if !opts.SkipRun {
    		fake.Run()
    		if err := env.InitNetworksManager(xdsUpdater); err != nil {
    			t.Fatal(err)
    		}
    		if err := env.PushContext().InitContext(env, nil, nil); err != nil {
    			t.Fatalf("Failed to initialize push context: %v", err)
    		}
    	}
    	return fake
    }
    
    func (f *ConfigGenTest) Run() {
    	go f.Registry.Run(f.stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/Make.dist

    Russ Cox <******@****.***> 1328732807 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:26:47 UTC 2012
    - 553 bytes
    - Viewed (0)
  8. pkg/proxy/util/testing/fake.go

    	Address map[string][]net.Addr
    }
    
    // NewFakeNetwork initializes a FakeNetwork.
    func NewFakeNetwork() *FakeNetwork {
    	return &FakeNetwork{
    		NetworkInterfaces: make([]net.Interface, 0),
    		Address:           make(map[string][]net.Addr),
    	}
    }
    
    // AddInterfaceAddr create an interface and its associated addresses for FakeNetwork implementation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 05 08:08:19 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  9. pkg/api/service/testing/make.go

    Stephen Kitt <******@****.***> 1678807068 +0100
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. src/make.bash

    bootgo=1.20.6
    
    set -e
    
    if [[ ! -f run.bash ]]; then
    	echo 'make.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    if [[ "$GOBUILDTIMELOGFILE" != "" ]]; then
    	echo $(LC_TIME=C date) start make.bash >"$GOBUILDTIMELOGFILE"
    fi
    
    # Test for Windows.
    case "$(uname)" in
    *MINGW* | *WIN32* | *CYGWIN*)
    	echo 'ERROR: Do not use make.bash to build on Windows.'
    	echo 'Use make.bat instead.'
    	echo
    	exit 1
    	;;
    esac
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top