_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c162400 | train | // CollectStaleMapGarbage cleans up stale content in the BPF maps from the
// datapath. | {
"resource": ""
} | ||
c162401 | train | // RemoveDisabledMaps removes BPF maps in the filesystem for features that have
// been disabled. The maps may still be in use in which case they will continue
// to live until the BPF program using them is being replaced. | {
"resource": ""
} | ||
c162402 | train | // WithPayload adds the payload to the get identity endpoints o k response | {
"resource": ""
} | ||
c162403 | train | // getMagicMark returns the magic marker with which each packet must be marked.
// The mark is different depending on whether the proxy is injected at ingress
// or egress. | {
"resource": ""
} | ||
c162404 | train | // Validate validates this controller status | {
"resource": ""
} | ||
c162405 | train | // LogFields returns the route attributes as logrus.Fields map | {
"resource": ""
} | ||
c162406 | train | // progLDFlags determines the loader flags for the specified prog and paths. | {
"resource": ""
} | ||
c162407 | train | // prepareCmdPipes attaches pipes to the stdout and stderr of the specified
// command, and returns the stdout, stderr, and any error that may have
// occurred while creating the pipes. | {
"resource": ""
} | ||
c162408 | train | // compileAndLink links the specified program from the specified path to the
// intermediate representation, to the output specified in the prog's info. | {
"resource": ""
} | ||
c162409 | train | // progLDFlags determines the compiler flags for the specified prog and paths. | {
"resource": ""
} | ||
c162410 | train | // compile and link a program. | {
"resource": ""
} | ||
c162411 | train | // Compile compiles a BPF program generating an object file. | {
"resource": ""
} | ||
c162412 | train | // compileTemplate compiles a BPF program generating a template object file. | {
"resource": ""
} | ||
c162413 | train | // AddResourceVersionObserver registers an observer to be notified of new
// resource version. | {
"resource": ""
} | ||
c162414 | train | // RemoveResourceVersionObserver unregisters an observer that was previously
// registered by calling AddResourceVersionObserver. | {
"resource": ""
} | ||
c162415 | train | // NotifyNewResourceVersionRLocked notifies registered observers that a new version of
// the resources of the given type is available.
// This function MUST be called with locker's lock acquired. | {
"resource": ""
} | ||
c162416 | train | // Validate validates this trace to | {
"resource": ""
} | ||
c162417 | train | // WithTimeout adds the timeout to the delete service ID params | {
"resource": ""
} | ||
c162418 | train | // WithContext adds the context to the delete service ID params | {
"resource": ""
} | ||
c162419 | train | // WithHTTPClient adds the HTTPClient to the delete service ID params | {
"resource": ""
} | ||
c162420 | train | // WithID adds the id to the delete service ID params | {
"resource": ""
} | ||
c162421 | train | // UpdateController installs or updates a controller in the manager. A
// controller is identified by its name. If a controller with the name already
// exists, the controller will be shut down and replaced with the provided
// controller. Updating a controller will cause the DoFunc to be run
// immediately regardless ... | {
"resource": ""
} | ||
c162422 | train | // RemoveController stops and removes a controller from the manager. If DoFunc
// is currently running, DoFunc is allowed to complete in the background. | {
"resource": ""
} | ||
c162423 | train | // TerminationChannel returns a channel that is closed after the controller has
// been terminated | {
"resource": ""
} | ||
c162424 | train | // RemoveAllAndWait stops and removes all controllers of the manager and then
// waits for all controllers to exit | {
"resource": ""
} | ||
c162425 | train | // GetStatusModel returns the status of all controllers as models.ControllerStatuses | {
"resource": ""
} | ||
c162426 | train | // FakeManager returns a fake controller manager with the specified number of
// failing controllers. The returned manager is identical in any regard except
// for internal pointers. | {
"resource": ""
} | ||
c162427 | train | // New creates a new cilium health client | {
"resource": ""
} | ||
c162428 | train | // StartServer starts an api server listening on the given address. | {
"resource": ""
} | ||
c162429 | train | // checkStatus checks the connection status to the kvstore and
// k8s apiserver and returns an error if any of them is unhealthy | {
"resource": ""
} | ||
c162430 | train | // IPAMAllocate allocates an IP address out of address family specific pool. | {
"resource": ""
} | ||
c162431 | train | // IPAMAllocateIP tries to allocate a particular IP address. | {
"resource": ""
} | ||
c162432 | train | // IPAMReleaseIP releases a IP address back to the pool. | {
"resource": ""
} | ||
c162433 | train | // GetSuccessCount returns the number of successful controller runs | {
"resource": ""
} | ||
c162434 | train | // GetFailureCount returns the number of failed controller runs | {
"resource": ""
} | ||
c162435 | train | // GetLastError returns the last error returned | {
"resource": ""
} | ||
c162436 | train | // GetLastErrorTimestamp returns the last error returned | {
"resource": ""
} | ||
c162437 | train | // updateParamsLocked sets the specified controller's parameters.
//
// If the RunInterval exceeds ControllerMaxInterval, it will be capped. | {
"resource": ""
} | ||
c162438 | train | // logger returns a logrus object with controllerName and UUID fields. | {
"resource": ""
} | ||
c162439 | train | // GetStatusModel returns a models.ControllerStatus representing the
// controller's configuration & status | {
"resource": ""
} | ||
c162440 | train | // recordError updates all statistic collection variables on error
// c.mutex must be held. | {
"resource": ""
} | ||
c162441 | train | // recordSuccess updates all statistic collection variables on success
// c.mutex must be held. | {
"resource": ""
} | ||
c162442 | train | // MatchesAll determines whether the CIDR matches all traffic. | {
"resource": ""
} | ||
c162443 | train | // GetAsEndpointSelectors returns the provided CIDR slice as a slice of
// endpoint selectors | {
"resource": ""
} | ||
c162444 | train | // StringSlice returns the CIDR slice as a slice of strings. | {
"resource": ""
} | ||
c162445 | train | // ComputeResultantCIDRSet converts a slice of CIDRRules into a slice of
// individual CIDRs. This expands the cidr defined by each CIDRRule, applies
// the CIDR exceptions defined in "ExceptCIDRs", and forms a minimal set of
// CIDRs that cover all of the CIDRRules.
//
// Assumes no error checking is necessary as CIDR... | {
"resource": ""
} | ||
c162446 | train | // NewGetHealthz creates a new http.Handler for the get healthz operation | {
"resource": ""
} | ||
c162447 | train | // Lookup searches for a chaining plugin with a given name and returns it | {
"resource": ""
} | ||
c162448 | train | // NewEndpointKey returns an EndpointKey based on the provided IP address. The
// address family is automatically detected. | {
"resource": ""
} | ||
c162449 | train | // ToIP converts the EndpointKey into a net.IP structure. | {
"resource": ""
} | ||
c162450 | train | // String provides a string representation of the EndpointKey. | {
"resource": ""
} | ||
c162451 | train | // NewPatchEndpointID creates a new http.Handler for the patch endpoint ID operation | {
"resource": ""
} | ||
c162452 | train | // Run launches the cilium-health daemon. | {
"resource": ""
} | ||
c162453 | train | // GetStatus returns the status of the cilium-health daemon. | {
"resource": ""
} | ||
c162454 | train | // setStatus updates the status of the cilium-health daemon. | {
"resource": ""
} | ||
c162455 | train | // bindIP binds and validates parameter IP from path. | {
"resource": ""
} | ||
c162456 | train | // WithPayload adds the payload to the delete fqdn cache bad request response | {
"resource": ""
} | ||
c162457 | train | // DirectoryPath returns the directory name for this endpoint bpf program. | {
"resource": ""
} | ||
c162458 | train | // StateDirectoryPath returns the directory name for this endpoint bpf program. | {
"resource": ""
} | ||
c162459 | train | // synchronizeDirectories moves the files related to endpoint BPF program
// compilation to their according directories if compilation of BPF was
// necessary for the endpoint.
// Returns the original regenerationError if regenerationError was non-nil,
// or if any updates to directories for the endpoint's directories ... | {
"resource": ""
} | ||
c162460 | train | // String returns the string representation on NodeIdentity. | {
"resource": ""
} | ||
c162461 | train | // Fullname returns the node's full name including the cluster name if a
// cluster name value other than the default value has been specified | {
"resource": ""
} | ||
c162462 | train | // GetModel returns the API model representation of a node. | {
"resource": ""
} | ||
c162463 | train | // Identity returns the identity of the node | {
"resource": ""
} | ||
c162464 | train | // PublicAttrEquals returns true only if the public attributes of both nodes
// are the same otherwise returns false. | {
"resource": ""
} | ||
c162465 | train | // Unmarshal parses the JSON byte slice and updates the node receiver | {
"resource": ""
} | ||
c162466 | train | // DeleteByName deletes the interface with the name ifName. | {
"resource": ""
} | ||
c162467 | train | // Rename renames a network link | {
"resource": ""
} | ||
c162468 | train | // reverse returns a reversed slice of b. | {
"resource": ""
} | ||
c162469 | train | // HostToNetwork converts b to the networking byte order. | {
"resource": ""
} | ||
c162470 | train | // NetworkToHost converts n to host byte order. | {
"resource": ""
} | ||
c162471 | train | // HostToNetworkSlice converts b to the networking byte order. | {
"resource": ""
} | ||
c162472 | train | // HostToNetworkPut puts v into b with the networking byte order. | {
"resource": ""
} | ||
c162473 | train | // NetworkToHostPut puts v into b with the networking byte order. | {
"resource": ""
} | ||
c162474 | train | // HostSliceToNetwork converts b to the networking byte order. | {
"resource": ""
} | ||
c162475 | train | // unsupported returns a string to used for debugging unhandled types. | {
"resource": ""
} | ||
c162476 | train | // Validate validates this health status response | {
"resource": ""
} | ||
c162477 | train | // WithPayload adds the payload to the get policy o k response | {
"resource": ""
} | ||
c162478 | train | // NewServiceCache returns a new ServiceCache | {
"resource": ""
} | ||
c162479 | train | // GetRandomBackendIP returns a random L3n4Addr that is backing the given Service ID. | {
"resource": ""
} | ||
c162480 | train | // UpdateService parses a Kubernetes service and adds or updates it in the
// ServiceCache. Returns the ServiceID unless the Kubernetes service could not
// be parsed and a bool to indicate whether the service was changed in the
// cache or not. | {
"resource": ""
} | ||
c162481 | train | // DeleteService parses a Kubernetes service and removes it from the
// ServiceCache | {
"resource": ""
} | ||
c162482 | train | // UpdateEndpoints parses a Kubernetes endpoints and adds or updates it in the
// ServiceCache. Returns the ServiceID unless the Kubernetes endpoints could not
// be parsed and a bool to indicate whether the endpoints was changed in the
// cache or not. | {
"resource": ""
} | ||
c162483 | train | // DeleteEndpoints parses a Kubernetes endpoints and removes it from the
// ServiceCache | {
"resource": ""
} | ||
c162484 | train | // UpdateIngress parses a Kubernetes ingress and adds or updates it in the
// ServiceCache. | {
"resource": ""
} | ||
c162485 | train | // DeleteIngress parses a Kubernetes ingress and removes it from the
// ServiceCache | {
"resource": ""
} | ||
c162486 | train | // LooseMatch returns true if the provided frontend is found in the
// FrontendList. If the frontend has a protocol value set, it only matches a
// k8s service with a matching protocol. If no protocol is set, any k8s service
// matching frontend IP and port is considered a match, regardless of protocol. | {
"resource": ""
} | ||
c162487 | train | // UniqueServiceFrontends returns all services known to the service cache as a
// map, indexed by the string representation of a loadbalancer.L3n4Addr | {
"resource": ""
} | ||
c162488 | train | // DebugStatus implements debug.StatusObject to provide debug status collection
// ability | {
"resource": ""
} | ||
c162489 | train | // NewGetEndpointIDHealthz creates a new http.Handler for the get endpoint ID healthz operation | {
"resource": ""
} | ||
c162490 | train | // WithPayload adds the payload to the get status o k response | {
"resource": ""
} | ||
c162491 | train | // GetProgNextID takes a current program ID and returns the next program ID. | {
"resource": ""
} | ||
c162492 | train | // GetProgFDByID returns the file descriptor for the program id. | {
"resource": ""
} | ||
c162493 | train | // GetProgInfoByFD gets the bpf program info from its file descriptor. | {
"resource": ""
} | ||
c162494 | train | // NewGetEndpoint creates a new http.Handler for the get endpoint operation | {
"resource": ""
} | ||
c162495 | train | // DiffCIDRLists compares an old and new list of CIDRs and returns the list of
// removed and added CIDRs | {
"resource": ""
} | ||
c162496 | train | // NewAckingResourceMutatorWrapper creates a new AckingResourceMutatorWrapper
// to wrap the given ResourceMutator. The given NodeToIDFunc is used to extract
// a string identifier from an Envoy Node identifier. | {
"resource": ""
} | ||
c162497 | train | // 'ackVersion' is the last version that was acked. 'nackVersion', if greater than 'nackVersion', is the last version that was NACKed. | {
"resource": ""
} | ||
c162498 | train | // sort a slice of symbols by offset. | {
"resource": ""
} | ||
c162499 | train | // ServeHTTP implements the http.Handler interface.
// It recovers from panics of all next handlers and logs them | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.