Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,474 for Example (0.13 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go

    }
    
    // Examples returns an object that can list and get Examples.
    func (s *exampleLister) Examples(namespace string) ExampleNamespaceLister {
    	return exampleNamespaceLister{listers.NewNamespaced[*v1.Example](s.ResourceIndexer, namespace)}
    }
    
    // ExampleNamespaceLister helps list and get Examples.
    // All objects returned here must be treated as read-only.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go

    }
    
    // Example constructs an declarative configuration of the Example type for use with
    // apply.
    func Example(name, namespace string) *ExampleApplyConfiguration {
    	b := &ExampleApplyConfiguration{}
    	b.WithName(name)
    	b.WithNamespace(namespace)
    	b.WithKind("Example")
    	b.WithAPIVersion("cr.example.apiextensions.k8s.io/v1")
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    type ExamplesGetter interface {
    	Examples(namespace string) ExampleInterface
    }
    
    // ExampleInterface has methods to work with Example resources.
    type ExampleInterface interface {
    	Create(ctx context.Context, example *v1.Example, opts metav1.CreateOptions) (*v1.Example, error)
    	Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (*v1.Example, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/go/doc/example.go

    //     or Foo (with a "bar" suffix).
    //
    // Examples with malformed names are not associated with anything.
    func classifyExamples(p *Package, examples []*Example) {
    	if len(examples) == 0 {
    		return
    	}
    	// Mapping of names for funcs, types, and methods to the example listing.
    	ids := make(map[string]*[]*Example)
    	ids[""] = &p.Examples // package-level examples have an empty name
    	for _, f := range p.Funcs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/go/doc/testdata/example.go

    	F      func()
    	Output string
    }
    
    func RunExamples(examples []InternalExample) (ok bool) {
    	ok = true
    
    	var eg InternalExample
    
    	stdout, stderr := os.Stdout, os.Stderr
    	defer func() {
    		os.Stdout, os.Stderr = stdout, stderr
    		if e := recover(); e != nil {
    			fmt.Printf("--- FAIL: %s\npanic: %v\n", eg.Name, e)
    			os.Exit(1)
    		}
    	}()
    
    	for _, eg = range examples {
    		if *chatty {
    			fmt.Printf("=== RUN: %s\n", eg.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/cr/v1/example.go

    import (
    	"context"
    	time "time"
    
    	crv1 "k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1"
    	versioned "k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned"
    	internalinterfaces "k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/internalinterfaces"
    	v1 "k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  7. src/testing/example.go

    func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool) {
    	_, ok = runExamples(matchString, examples)
    	return ok
    }
    
    func runExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ran, ok bool) {
    	ok = true
    
    	m := newMatcher(matchString, *match, "-test.run", *skip)
    
    	var eg InternalExample
    	for _, eg = range examples {
    		_, matched, _ := m.fullName(nil, eg.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/reflect/internal/example1/example.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package example1
    
    type MyStruct struct {
    	MyStructs []MyStruct
    	MyStruct  *MyStruct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 246 bytes
    - Viewed (0)
  9. docs/federation/lookup/Corefile.example

    Ashish Kumar Sinha <******@****.***> 1569948788 +0530
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 01 16:53:08 UTC 2019
    - 216 bytes
    - Viewed (0)
  10. src/reflect/internal/example2/example.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package example2
    
    type MyStruct struct {
    	MyStructs []MyStruct
    	MyStruct  *MyStruct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 246 bytes
    - Viewed (0)
Back to top