- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for create_node (0.21 sec)
-
hack/make-rules/test-cmd.sh
# and name get wiped, there were be no field managers tracking any fields. # # Exports: # SUPPORTED_RESOURCES(Array of all resources supported by the apiserver). function create_node() { kubectl create -f - << __EOF__ { "kind": "Node", "apiVersion": "v1", "metadata": { "name": "127.0.0.1", "annotations": { "save-managers": "true" } },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 09:10:14 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/software/platform-base/src/testFixtures/groovy/org/gradle/platform/base/component/BaseComponentFixtures.groovy
def node = createNode(publicType, implType, componentId); return node.asMutable(ModelType.of(publicType), new SimpleModelRuleDescriptor(componentId.getName())).getInstance() } static <T extends ComponentSpec, I extends BaseComponentSpec> MutableModelNode createNode(Class<T> publicType, Class<I> implType, ComponentSpecIdentifier componentId) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/platform-base/src/testFixtures/groovy/org/gradle/test/fixtures/BaseInstanceFixtureSupport.groovy
def node = createNode(publicType, internalView, implType, name, createUnmanagedInstance) return node.asMutable(ModelType.of(publicType), new SimpleModelRuleDescriptor("<get $name>")).instance } static <B, T extends B, I extends B> MutableModelNode createNode(Class<T> publicType, Class<? extends B> internalView, Class<I> implType,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.1K bytes - Viewed (0) -
fastapi/exceptions.py
""" ), ] = None, ) -> None: super().__init__(code=code, reason=reason) RequestErrorModel: Type[BaseModel] = create_model("Request") WebSocketErrorModel: Type[BaseModel] = create_model("WebSocket") class FastAPIError(RuntimeError): """ A generic, FastAPI-specific error. """ class ValidationException(Exception):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 4.9K bytes - Viewed (0) -
pkg/controller/testutil/test_utils.go
nodes = append(nodes, m.Existing[i]) } } for i := 0; i < len(m.CreatedNodes); i++ { if !contains(m.CreatedNodes[i], m.DeletedNodes) && !contains(m.CreatedNodes[i], nodes) { nodes = append(nodes, m.CreatedNodes[i]) } } nodeList := &v1.NodeList{} for _, node := range nodes { nodeList.Items = append(nodeList.Items, *node) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 15.6K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultNativeExecutableBinarySpecTest.groovy
def "has useful string representation"() { given: def executable = BaseComponentFixtures.createNode(NativeExecutableSpec, DefaultNativeExecutableSpec, new DefaultComponentSpecIdentifier("path", "name")) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.1K bytes - Viewed (0) -
pkg/scheduler/extender_test.go
ctx, cancel := context.WithCancel(ctx) defer cancel() cache := internalcache.New(ctx, time.Duration(0)) for _, name := range test.nodes { cache.AddNode(logger, createNode(name)) } fwk, err := tf.NewFramework( ctx, test.registerPlugins, "", runtime.WithClientSet(client), runtime.WithInformerFactory(informerFactory),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 16.7K bytes - Viewed (0) -
fastapi/utils.py
PydanticSchemaGenerationError, Undefined, UndefinedType, Validator, lenient_issubclass, ) from fastapi.datastructures import DefaultPlaceholder, DefaultType from pydantic import BaseModel, create_model from pydantic.fields import FieldInfo from typing_extensions import Literal if TYPE_CHECKING: # pragma: nocover from .routing import APIRoute # Cache for `create_cloned_field`
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/binary/BaseBinarySpecTest.groovy
binary.namingScheme.description == "sample binary 'sampleBinary'" } def "qualifies project scoped named and display name using owners name"() { def component = BaseComponentFixtures.createNode(SampleComponent, MySampleComponent, new DefaultComponentSpecIdentifier("path", "sample")) def binary = create(SampleBinary, MySampleBinary, "unitTest", component) expect: binary.name == "unitTest"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/registry/registrytest/node.go
} func (r *NodeRegistry) ListNodes(ctx context.Context, options *metainternalversion.ListOptions) (*api.NodeList, error) { r.Lock() defer r.Unlock() return &r.Nodes, r.Err } func (r *NodeRegistry) CreateNode(ctx context.Context, node *api.Node) error { r.Lock() defer r.Unlock() r.Node = node.Name r.Nodes.Items = append(r.Nodes.Items, *node) return r.Err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 23:13:50 UTC 2024 - 2.8K bytes - Viewed (0)