_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c22300 | train | //It blocks contain your test code and assertions. You cannot nest any other Ginkgo blocks
//within an It block.
//
//Ginkgo will normally run It blocks synchronously. To perform asynchronous tests, pass a
//function that accepts a Done channel. When you do this, you can also provide an optional timeout. | {
"resource": ""
} | ||
c22301 | train | //You can focus individual Its using FIt | {
"resource": ""
} | ||
c22302 | train | //You can mark Its as pending using PIt | {
"resource": ""
} | ||
c22303 | train | //You can mark Specifys as pending using PSpecify | {
"resource": ""
} | ||
c22304 | train | //You can focus individual Measures using FMeasure | {
"resource": ""
} | ||
c22305 | train | //You can mark Measurements as pending using PMeasure | {
"resource": ""
} | ||
c22306 | train | //BeforeEach blocks are run before It blocks. When multiple BeforeEach blocks are defined in nested
//Describe and Context blocks the outermost BeforeEach blocks are run first.
//
//Like It blocks, BeforeEach blocks can be made asynchronous by providing a body function that accepts
//a Done channel | {
"resource": ""
} | ||
c22307 | train | //AfterEach blocks are run after It blocks. When multiple AfterEach blocks are defined in nested
//Describe and Context blocks the innermost AfterEach blocks are run first.
//
//Like It blocks, AfterEach blocks can be made asynchronous by providing a body function that accepts
//a Done channel | {
"resource": ""
} | ||
c22308 | train | // initStore drivers are responsible for caching their own persistent state | {
"resource": ""
} | ||
c22309 | train | // populateNetworks is invoked at driver init to recreate persistently stored networks | {
"resource": ""
} | ||
c22310 | train | // CreateEndpoint assigns the mac, ip and endpoint id for the new container | {
"resource": ""
} | ||
c22311 | train | // DeleteEndpoint remove the endpoint and associated netlink interface | {
"resource": ""
} | ||
c22312 | train | // ApplyOSTweaks applies the configuration values passed as arguments | {
"resource": ""
} | ||
c22313 | train | // GetID returns the first available id in the set | {
"resource": ""
} | ||
c22314 | train | // GetSpecificID tries to reserve the specified id | {
"resource": ""
} | ||
c22315 | train | // Release releases the specified id | {
"resource": ""
} | ||
c22316 | train | // Equal checks if this instance of Transportport is equal to the passed one | {
"resource": ""
} | ||
c22317 | train | // GetCopy returns a copy of this TransportPort structure instance | {
"resource": ""
} | ||
c22318 | train | // String returns the TransportPort structure in string form | {
"resource": ""
} | ||
c22319 | train | // FromString reads the TransportPort structure from string | {
"resource": ""
} | ||
c22320 | train | // HostAddr returns the host side transport address | {
"resource": ""
} | ||
c22321 | train | // GetCopy returns a copy of this PortBinding structure instance | {
"resource": ""
} | ||
c22322 | train | // String returns the PortBinding structure in string form | {
"resource": ""
} | ||
c22323 | train | // Equal checks if this instance of PortBinding is equal to the passed one | {
"resource": ""
} | ||
c22324 | train | // ParseProtocol returns the respective Protocol type for the passed string | {
"resource": ""
} | ||
c22325 | train | // GetMacCopy returns a copy of the passed MAC address | {
"resource": ""
} | ||
c22326 | train | // GetIPCopy returns a copy of the passed IP address | {
"resource": ""
} | ||
c22327 | train | // GetIPNetCopy returns a copy of the passed IP Network | {
"resource": ""
} | ||
c22328 | train | // GetIPNetCanonical returns the canonical form for the passed network | {
"resource": ""
} | ||
c22329 | train | // CompareIPNet returns equal if the two IP Networks are equal | {
"resource": ""
} | ||
c22330 | train | // GetMinimalIP returns the address in its shortest form
// If ip contains an IPv4-mapped IPv6 address, the 4-octet form of the IPv4 address will be returned.
// Otherwise ip is returned unchanged. | {
"resource": ""
} | ||
c22331 | train | // GetMinimalIPNet returns a copy of the passed IP Network with congruent ip and mask notation | {
"resource": ""
} | ||
c22332 | train | // compareIPMask checks if the passed ip and mask are semantically compatible.
// It returns the byte indexes for the address and mask so that caller can
// do bitwise operations without modifying address representation. | {
"resource": ""
} | ||
c22333 | train | // GetHostPartIP returns the host portion of the ip address identified by the mask.
// IP address representation is not modified. If address and mask are not compatible
// an error is returned. | {
"resource": ""
} | ||
c22334 | train | // GetCopy returns a copy of this StaticRoute structure | {
"resource": ""
} | ||
c22335 | train | // NotFoundErrorf creates an instance of NotFoundError | {
"resource": ""
} | ||
c22336 | train | // ForbiddenErrorf creates an instance of ForbiddenError | {
"resource": ""
} | ||
c22337 | train | // NoServiceErrorf creates an instance of NoServiceError | {
"resource": ""
} | ||
c22338 | train | // NotImplementedErrorf creates an instance of NotImplementedError | {
"resource": ""
} | ||
c22339 | train | // TimeoutErrorf creates an instance of TimeoutError | {
"resource": ""
} | ||
c22340 | train | // InternalErrorf creates an instance of InternalError | {
"resource": ""
} | ||
c22341 | train | // InternalMaskableErrorf creates an instance of InternalError and MaskableError | {
"resource": ""
} | ||
c22342 | train | // RetryErrorf creates an instance of RetryError | {
"resource": ""
} | ||
c22343 | train | // getNetworks Safely returns a slice of existing networks | {
"resource": ""
} | ||
c22344 | train | // LoadDefaultScopes loads default scope configs for scopes which
// doesn't have explicit user specified configs. | {
"resource": ""
} | ||
c22345 | train | // ParseConfigOptions parses the configuration options and returns
// a reference to the corresponding Config structure | {
"resource": ""
} | ||
c22346 | train | // OptionDefaultNetwork function returns an option setter for a default network | {
"resource": ""
} | ||
c22347 | train | // OptionDefaultDriver function returns an option setter for default driver | {
"resource": ""
} | ||
c22348 | train | // OptionDefaultAddressPoolConfig function returns an option setter for default address pool | {
"resource": ""
} | ||
c22349 | train | // OptionDriverConfig returns an option setter for driver configuration. | {
"resource": ""
} | ||
c22350 | train | // OptionLabels function returns an option setter for labels | {
"resource": ""
} | ||
c22351 | train | // OptionKVProvider function returns an option setter for kvstore provider | {
"resource": ""
} | ||
c22352 | train | // OptionKVProviderURL function returns an option setter for kvstore url | {
"resource": ""
} | ||
c22353 | train | // OptionKVOpts function returns an option setter for kvstore options | {
"resource": ""
} | ||
c22354 | train | // OptionDiscoveryWatcher function returns an option setter for discovery watcher | {
"resource": ""
} | ||
c22355 | train | // OptionDiscoveryAddress function returns an option setter for self discovery address | {
"resource": ""
} | ||
c22356 | train | // OptionDataDir function returns an option setter for data folder | {
"resource": ""
} | ||
c22357 | train | // OptionExecRoot function returns an option setter for exec root folder | {
"resource": ""
} | ||
c22358 | train | // OptionPluginGetter returns a plugingetter for remote drivers. | {
"resource": ""
} | ||
c22359 | train | // OptionExperimental function returns an option setter for experimental daemon | {
"resource": ""
} | ||
c22360 | train | // OptionNetworkControlPlaneMTU function returns an option setter for control plane MTU | {
"resource": ""
} | ||
c22361 | train | // ProcessOptions processes options and stores it in config | {
"resource": ""
} | ||
c22362 | train | // OptionLocalKVProviderConfig function returns an option setter for kvstore config | {
"resource": ""
} | ||
c22363 | train | // FirewalldInit initializes firewalld management code. | {
"resource": ""
} | ||
c22364 | train | // Initialize D-Bus connection. | {
"resource": ""
} | ||
c22365 | train | // OnReloaded add callback | {
"resource": ""
} | ||
c22366 | train | // Call some remote method to see whether the service is actually running. | {
"resource": ""
} | ||
c22367 | train | // contains return true if the passed ip belongs to one the network's
// subnets | {
"resource": ""
} | ||
c22368 | train | // getMatchingSubnet return the network's subnet that matches the input | {
"resource": ""
} | ||
c22369 | train | // String returns the string form of the AddressRange object | {
"resource": ""
} | ||
c22370 | train | // MarshalJSON returns the JSON encoding of the Range object | {
"resource": ""
} | ||
c22371 | train | // UnmarshalJSON decodes data into the Range object | {
"resource": ""
} | ||
c22372 | train | // String returns the string form of the SubnetKey object | {
"resource": ""
} | ||
c22373 | train | // FromString populates the SubnetKey object reading it from string | {
"resource": ""
} | ||
c22374 | train | // String returns the string form of the PoolData object | {
"resource": ""
} | ||
c22375 | train | // MarshalJSON returns the JSON encoding of the PoolData object | {
"resource": ""
} | ||
c22376 | train | // UnmarshalJSON decodes data into the PoolData object | {
"resource": ""
} | ||
c22377 | train | // MarshalJSON returns the JSON encoding of the addrSpace object | {
"resource": ""
} | ||
c22378 | train | // UnmarshalJSON decodes data into the addrSpace object | {
"resource": ""
} | ||
c22379 | train | // CopyTo deep copies the pool data to the destination pooldata | {
"resource": ""
} | ||
c22380 | train | // updatePoolDBOnAdd returns a closure which will add the subnet k to the address space when executed. | {
"resource": ""
} | ||
c22381 | train | // Checks whether the passed subnet is a superset or subset of any of the subset in this config db | {
"resource": ""
} | ||
c22382 | train | // NewStubProxy creates a new StubProxy | {
"resource": ""
} | ||
c22383 | train | // CheckRouteOverlaps checks whether the passed network overlaps with any existing routes | {
"resource": ""
} | ||
c22384 | train | // GenerateIfaceName returns an interface name using the passed in
// prefix and the length of random bytes. The api ensures that the
// there are is no interface which exists with that name. | {
"resource": ""
} | ||
c22385 | train | // GC triggers garbage collection of namespace path right away
// and waits for it. | {
"resource": ""
} | ||
c22386 | train | // GetSandboxForExternalKey returns sandbox object for the supplied path | {
"resource": ""
} | ||
c22387 | train | // InitOSContext initializes OS context while configuring network resources | {
"resource": ""
} | ||
c22388 | train | // ApplyOSTweaks applies linux configs on the sandbox | {
"resource": ""
} | ||
c22389 | train | // Watch creates a watcher with filters for a particular table or
// network or key or any combination of the tuple. If any of the
// filter is an empty string it acts as a wildcard for that
// field. Watch returns a channel of events, where the events will be
// sent. | {
"resource": ""
} | ||
c22390 | train | // Run starts forwarding the traffic using TCP. | {
"resource": ""
} | ||
c22391 | train | // SetValue unmarshals the data from the KV store | {
"resource": ""
} | ||
c22392 | train | // New method returns a handle based on the receiver handle | {
"resource": ""
} | ||
c22393 | train | // CopyTo deep copies the handle into the passed destination object | {
"resource": ""
} | ||
c22394 | train | // createIPVlan Create the ipvlan slave specifying the source name | {
"resource": ""
} | ||
c22395 | train | // setIPVlanMode setter for one of the two ipvlan port types | {
"resource": ""
} | ||
c22396 | train | // parentExists check if the specified interface exists in the default namespace | {
"resource": ""
} | ||
c22397 | train | // createVlanLink parses sub-interfaces and vlan id for creation | {
"resource": ""
} | ||
c22398 | train | // createDummyLink creates a dummy0 parent link | {
"resource": ""
} | ||
c22399 | train | // delDummyLink deletes the link type dummy used when -o parent is not passed | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.