Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 269 for hamster (0.11 sec)

  1. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller_test.go

    	"k8s.io/kubernetes/pkg/controller"
    )
    
    func TestSyncClusterRole(t *testing.T) {
    	hammerRules := func() []rbacv1.PolicyRule {
    		return []rbacv1.PolicyRule{
    			{Verbs: []string{"hammer"}, Resources: []string{"nails"}},
    			{Verbs: []string{"hammer"}, Resources: []string{"wedges"}},
    		}
    	}
    	chiselRules := func() []rbacv1.PolicyRule {
    		return []rbacv1.PolicyRule{
    			{Verbs: []string{"chisel"}, Resources: []string{"mortises"}},
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. internal/logger/target/kafka/kafka_scram_client_contrib.go

    	}
    }
    
    // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used
    // to create Client objects configured for SHA-256 hashing.
    var KafkaSHA256 scram.HashGeneratorFcn = sha256.New
    
    // KafkaSHA512 is a function that returns a crypto/sha512 hasher and should be used
    // to create Client objects configured for SHA-512 hashing.
    var KafkaSHA512 scram.HashGeneratorFcn = sha512.New
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. pkg/cluster/ports/ports.go

    	// May be overridden by a flag at startup.
    	// This is necessary for heapster to collect monitoring stats from the kubelet
    	// until heapster can transition to using the SSL endpoint.
    	// TODO(roberthbailey): Remove this once we have a better solution for heapster.
    	KubeletReadOnlyPort = 10255
    	// KubeletHealthzPort exposes a healthz endpoint from the kubelet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 23:28:05 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. pkg/controller/resourceclaim/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package resourceclaim implements the controller part of
    // https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/3063-dynamic-resource-allocation
    //
    // It was derived from the generic ephemeral volume controller.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:23:50 UTC 2022
    - 824 bytes
    - Viewed (0)
  5. pkg/ledger/smt_test.go

    	"istio.io/istio/pkg/cache"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestSmtEmptyTrie(t *testing.T) {
    	smt := newSMT(hasher, nil, time.Minute)
    	if !bytes.Equal([]byte{}, smt.root) {
    		t.Fatal("empty trie root hash not correct")
    	}
    }
    
    func TestSmtUpdateAndGet(t *testing.T) {
    	smt := newSMT(hasher, nil, time.Minute)
    	smt.atomicUpdate = false
    
    	// Add data to empty trie
    	keys := getFreshData(10)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/math/big/calibrate_test.go

    // used to manually fine-tune the threshold constant. The
    // results are somewhat fragile; use repeated runs to get
    // a clear picture.
    
    // Calculates lower and upper thresholds for when basicSqr
    // is faster than standard multiplication.
    
    // Usage: go test -run='^TestCalibrate$' -v -calibrate
    
    package big
    
    import (
    	"flag"
    	"fmt"
    	"testing"
    	"time"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. pkg/controlplane/reconcilers/lease.go

    			ipList = append(ipList, ip.Subsets[0].Addresses[0].IP)
    		}
    	}
    
    	klog.V(6).Infof("Current master IPs listed in storage are %v", ipList)
    
    	return ipList, nil
    }
    
    // UpdateLease resets the TTL on a master IP in storage
    // UpdateLease will create a new key if it doesn't exist.
    func (s *storageLeases) UpdateLease(ip string) error {
    	key := path.Join(s.baseKey, ip)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. src/encoding/gob/type.go

    // to get the current version of the map. Writers make a full copy of
    // the map and atomically update the pointer to point to the new map.
    // Under heavy read contention, this is significantly faster than a map
    // protected by a mutex.
    var typeInfoMap atomic.Value
    
    // typeInfoMapInit is used instead of typeInfoMap during init time,
    // as types are registered sequentially during init and we can save
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/apiserver.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // APIServer is the main API server and master for the cluster.
    // It is responsible for serving the cluster management API.
    package main
    
    import (
    	"os"
    	_ "time/tzdata" // for timeZone support in CronJob
    
    	"k8s.io/component-base/cli"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 05 18:50:03 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. src/debug/dwarf/entry.go

    // ranges in all the compilation units. Each call to SeekPC starts the
    // search at the compilation unit of the last call, so in general
    // looking up a series of PCs will be faster if they are sorted. If
    // the caller wishes to do repeated fast PC lookups, it should build
    // an appropriate index using the Ranges method.
    func (r *Reader) SeekPC(pc uint64) (*Entry, error) {
    	unit := r.unit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
Back to top