- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 407 for listOps (0.23 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/lists.go
// ['a', 'b', 'b', 'c'].lastIndexOf('b') // returns 2 // [1.0].indexOf(1.1) // returns -1 // [].indexOf('string') // returns -1 func Lists() cel.EnvOption { return cel.Lib(listsLib) } var listsLib = &lists{} type lists struct{} func (*lists) LibraryName() string { return "k8s.lists" } var paramA = cel.TypeParamType("A")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go
ExampleListerExpansion } // exampleLister implements the ExampleLister interface. type exampleLister struct { listers.ResourceIndexer[*v1.Example] } // NewExampleLister returns a new ExampleLister. func NewExampleLister(indexer cache.Indexer) ExampleLister { return &exampleLister{listers.New[*v1.Example](indexer, v1.Resource("example"))} } // Examples returns an object that can list and get Examples.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 11:15:04 UTC 2024 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1/customresourcedefinition.go
type customResourceDefinitionLister struct { listers.ResourceIndexer[*v1.CustomResourceDefinition] } // NewCustomResourceDefinitionLister returns a new CustomResourceDefinitionLister. func NewCustomResourceDefinitionLister(indexer cache.Indexer) CustomResourceDefinitionLister { return &customResourceDefinitionLister{listers.New[*v1.CustomResourceDefinition](indexer, v1.Resource("customresourcedefinition"))}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 11:15:04 UTC 2024 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1beta1/customresourcedefinition.go
type customResourceDefinitionLister struct { listers.ResourceIndexer[*v1beta1.CustomResourceDefinition] } // NewCustomResourceDefinitionLister returns a new CustomResourceDefinitionLister. func NewCustomResourceDefinitionLister(indexer cache.Indexer) CustomResourceDefinitionLister { return &customResourceDefinitionLister{listers.New[*v1beta1.CustomResourceDefinition](indexer, v1beta1.Resource("customresourcedefinition"))}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 11:15:04 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/scheduler/metrics/resources/resources.go
package resources import ( "net/http" "strconv" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/labels" corelisters "k8s.io/client-go/listers/core/v1" "k8s.io/component-base/metrics" v1resource "k8s.io/kubernetes/pkg/api/v1/resource" v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper" ) type resourceLifecycleDescriptors struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 09 23:15:53 UTC 2023 - 6.8K bytes - Viewed (0) -
pkg/controlplane/controller/systemnamespaces/system_namespaces_controller.go
coreinformers "k8s.io/client-go/informers/core/v1" "k8s.io/client-go/kubernetes" listers "k8s.io/client-go/listers/core/v1" "k8s.io/client-go/tools/cache" "k8s.io/klog/v2" ) // Controller ensure system namespaces exist. type Controller struct { client kubernetes.Interface namespaceLister listers.NamespaceLister namespaceSynced cache.InformerSynced systemNamespaces []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/establish/establishing_controller.go
informers "k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/apiextensions/v1" listers "k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1" ) // EstablishingController controls how and when CRD is established. type EstablishingController struct { crdClient client.CustomResourceDefinitionsGetter crdLister listers.CustomResourceDefinitionLister crdSynced cache.InformerSynced
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/scheduler/framework/autoscaler_contract/lister_contract_test.go
See the License for the specific language governing permissions and limitations under the License. */ // This file helps to detect whether we changed the interface of Listers. // This is important for downstream projects who import the Listers to not // breaking their codes. package contract import ( "k8s.io/kubernetes/pkg/scheduler/framework" ) var _ framework.NodeInfoLister = &nodeInfoListerContract{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 20 02:30:08 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go
func (c *examples) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { var timeout time.Duration if listOpts.TimeoutSeconds != nil { timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second } return c.client.Delete(). Namespace(c.ns). Resource("examples"). VersionedParams(&listOpts, scheme.ParameterCodec). Timeout(timeout). Body(&opts). Do(ctx).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 10:52:54 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/SymbolExtractorOsConfig.java
*/ package org.gradle.nativeplatform.toolchain.internal; import com.google.common.collect.Lists; import org.gradle.internal.os.OperatingSystem; import java.util.List; public enum SymbolExtractorOsConfig { OBJCOPY("objcopy", Lists.newArrayList("--only-keep-debug"), ".debug"), DSYMUTIL("dsymutil", Lists.<String>newArrayList("-f"), ".dwarf") { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.1K bytes - Viewed (0)