_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c163800 | train | // RequiresGlobalIdentity returns true if the label combination requires a
// global identity | {
"resource": ""
} | ||
c163801 | train | // extractDNSLookups returns API models.DNSLookup copies of DNS data in each
// endpoint's DNSHistory. These are filtered by CIDRStr and matchPatternStr if
// they are non-empty. | {
"resource": ""
} | ||
c163802 | train | // readPreCache returns a fqdn.DNSCache object created from the json data at
// preCachePath | {
"resource": ""
} | ||
c163803 | train | // GetIPsFromGroup will return the list of the ips for the given group filter | {
"resource": ""
} | ||
c163804 | train | // initializeAWSAccount retrieve the env variables from the runtime and it
// iniliazes the account in the specified region. | {
"resource": ""
} | ||
c163805 | train | // getInstancesFromFilter returns the instances IPs in aws EC2 filter by the
// given filter | {
"resource": ""
} | ||
c163806 | train | // validate is invoked by JoinSharedStore to validate and complete the
// configuration. It returns nil when the configuration is valid. | {
"resource": ""
} | ||
c163807 | train | // JoinSharedStore creates a new shared store based on the provided
// configuration. An error is returned if the configuration is invalid. The
// store is initialized with the contents of the kvstore. An error is returned
// if the contents cannot be retrieved synchronously from the kvstore. Starts a
// controller to ... | {
"resource": ""
} | ||
c163808 | train | // keyPath returns the absolute kvstore path of a key | {
"resource": ""
} | ||
c163809 | train | // syncLocalKey synchronizes a key to the kvstore | {
"resource": ""
} | ||
c163810 | train | // syncLocalKeys synchronizes all local keys with the kvstore | {
"resource": ""
} | ||
c163811 | train | // SharedKeysMap returns a copy of the SharedKeysMap, the returned map can
// be safely modified but the values of the map represent the actual data
// stored in the internal SharedStore SharedKeys map. | {
"resource": ""
} | ||
c163812 | train | // UpdateLocalKey adds a key to be synchronized with the kvstore | {
"resource": ""
} | ||
c163813 | train | // UpdateLocalKeySync synchronously synchronizes a local key with the kvstore
// and adds it to the list of local keys to be synchronized if the initial
// synchronous synchronization was successful | {
"resource": ""
} | ||
c163814 | train | // UpdateKeySync synchronously synchronizes a key with the kvstore. | {
"resource": ""
} | ||
c163815 | train | // DeleteLocalKey removes a key from being synchronized with the kvstore | {
"resource": ""
} | ||
c163816 | train | // getLocalKeys returns all local keys | {
"resource": ""
} | ||
c163817 | train | // getSharedKeys returns all shared keys | {
"resource": ""
} | ||
c163818 | train | // SliceSubsetOf checks whether the first slice is a subset of the second slice. If
// not, it also returns slice of elements which are the difference of both
// input slices. | {
"resource": ""
} | ||
c163819 | train | // WithPayload adds the payload to the get endpoint Id config o k response | {
"resource": ""
} | ||
c163820 | train | // DumpInfo prints a summary of the drop messages. | {
"resource": ""
} | ||
c163821 | train | // DumpVerbose prints the drop notification in human readable form | {
"resource": ""
} | ||
c163822 | train | //DropNotifyToVerbose creates verbose notification from DropNotify | {
"resource": ""
} | ||
c163823 | train | // InitWellKnownIdentities establishes all well-known identities | {
"resource": ""
} | ||
c163824 | train | // IsUserReservedIdentity returns true if the given NumericIdentity belongs
// to the space reserved for users. | {
"resource": ""
} | ||
c163825 | train | // AddUserDefinedNumericIdentity adds the given numeric identity and respective
// label to the list of reservedIdentities. If the numeric identity is not
// between UserReservedNumericIdentity and MinimalNumericIdentity it will return
// ErrNotUserIdentity.
// Is not safe for concurrent use. | {
"resource": ""
} | ||
c163826 | train | // DelReservedNumericIdentity deletes the given Numeric Identity from the list
// of reservedIdentities. If the numeric identity is not between
// UserReservedNumericIdentity and MinimalNumericIdentity it will return
// ErrNotUserIdentity.
// Is not safe for concurrent use. | {
"resource": ""
} | ||
c163827 | train | // GetAllReservedIdentities returns a list of all reserved numeric identities. | {
"resource": ""
} | ||
c163828 | train | // IterateReservedIdentities iterates over all reservedIdentities and executes
// the given function for each key, value pair in reservedIdentities. | {
"resource": ""
} | ||
c163829 | train | // NewHTTPClientWithConfig creates a new cilium HTTP client,
// using a customizable transport config. | {
"resource": ""
} | ||
c163830 | train | // New creates a new cilium client | {
"resource": ""
} | ||
c163831 | train | // WithTimeout adds the timeout to the get endpoint params | {
"resource": ""
} | ||
c163832 | train | // WithContext adds the context to the get endpoint params | {
"resource": ""
} | ||
c163833 | train | // WithHTTPClient adds the HTTPClient to the get endpoint params | {
"resource": ""
} | ||
c163834 | train | // WithLabels adds the labels to the get endpoint params | {
"resource": ""
} | ||
c163835 | train | // WithPayload adds the payload to the put service Id invalid frontend response | {
"resource": ""
} | ||
c163836 | train | // WithPayload adds the payload to the put service Id invalid backend response | {
"resource": ""
} | ||
c163837 | train | // WithPayload adds the payload to the put service Id failure response | {
"resource": ""
} | ||
c163838 | train | // CreateIpvlanSlave creates an ipvlan slave in L3 based on the master device. | {
"resource": ""
} | ||
c163839 | train | // NewDeleteEndpointID creates a new http.Handler for the delete endpoint ID operation | {
"resource": ""
} | ||
c163840 | train | // Append appends the given FinalizeFunc at the end of this list. If the
// function is nil, it is ignored. | {
"resource": ""
} | ||
c163841 | train | // WithPayload adds the payload to the patch endpoint Id invalid response | {
"resource": ""
} | ||
c163842 | train | // WithPayload adds the payload to the patch endpoint Id failed response | {
"resource": ""
} | ||
c163843 | train | // WithTimeout adds the timeout to the delete IP a m IP params | {
"resource": ""
} | ||
c163844 | train | // WithContext adds the context to the delete IP a m IP params | {
"resource": ""
} | ||
c163845 | train | // WithHTTPClient adds the HTTPClient to the delete IP a m IP params | {
"resource": ""
} | ||
c163846 | train | // WithIP adds the ip to the delete IP a m IP params | {
"resource": ""
} | ||
c163847 | train | // NewGetDebuginfo creates a new http.Handler for the get debuginfo operation | {
"resource": ""
} | ||
c163848 | train | // CompareWithNames compares two interfaces and emits a unified diff as string | {
"resource": ""
} | ||
c163849 | train | // MapStringEquals returns true if both maps are equal. | {
"resource": ""
} | ||
c163850 | train | // RegisterNode registers the local node in the cluster | {
"resource": ""
} | ||
c163851 | train | // UpdateLocalKeySync synchronizes the local key for the node using the
// SharedStore. | {
"resource": ""
} | ||
c163852 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Address. | {
"resource": ""
} | ||
c163853 | train | // Sanitize sanitizes key-value pair rules. It makes sure keys are present. | {
"resource": ""
} | ||
c163854 | train | // WithPayload adds the payload to the get endpoint Id o k response | {
"resource": ""
} | ||
c163855 | train | // WithPayload adds the payload to the get endpoint Id invalid response | {
"resource": ""
} | ||
c163856 | train | // LoadNetConf unmarshals a Cilium network configuration from JSON and returns
// a NetConf together with the CNI version | {
"resource": ""
} | ||
c163857 | train | // doResolverLogic exists to allow testing the more complex logic around
// collecting A and AAAA records, handling CNAMEs and trying different servers. | {
"resource": ""
} | ||
c163858 | train | // DefaultSockPath returns deafult UNIX domain socket path or
// path set using CILIUM_SOCK env variable | {
"resource": ""
} | ||
c163859 | train | // NewDefaultClientWithTimeout creates a client with default parameters connecting to UNIX
// domain socket and waits for cilium-agent availability. | {
"resource": ""
} | ||
c163860 | train | // NewClient creates a client for the given `host`.
// If host is nil then use SockPath provided by CILIUM_SOCK
// or the cilium default SockPath | {
"resource": ""
} | ||
c163861 | train | // FormatStatusResponseBrief writes a one-line status to the writer. If
// everything ok, this is "ok", otherwise a message of the form "error in ..." | {
"resource": ""
} | ||
c163862 | train | // FormatStatusResponse writes a StatusResponse as a string to the writer.
//
// The parameters 'allAddresses', 'allControllers', 'allNodes', respectively,
// cause all details about that aspect of the status to be printed to the
// terminal. For each of these, if they are false then only a summary will be
// printed, ... | {
"resource": ""
} | ||
c163863 | train | // Validate validates this endpoint status | {
"resource": ""
} | ||
c163864 | train | // SendMetrics sends the regeneration statistics for this endpoint to
// Prometheus. | {
"resource": ""
} | ||
c163865 | train | // GetMap returns a map which key is the stat name and the value is the stat | {
"resource": ""
} | ||
c163866 | train | // Update adds or updates a new endpoint to the map and update the metrics
// related | {
"resource": ""
} | ||
c163867 | train | // Remove deletes the given endpoint from the map and update the metrics | {
"resource": ""
} | ||
c163868 | train | // UpdateMetrics update the policy enforcement metrics statistics for the endpoints. | {
"resource": ""
} | ||
c163869 | train | // NewResourceWatcher creates a new ResourceWatcher backed by the given
// resource set. | {
"resource": ""
} | ||
c163870 | train | // WatchResources watches for new versions of specific resources and sends them
// into the given out channel.
//
// A call to this method blocks until a version greater than lastVersion is
// available. Therefore, every call must be done in a separate goroutine.
// A watch can be canceled by canceling the given contex... | {
"resource": ""
} | ||
c163871 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumEndpoint. | {
"resource": ""
} | ||
c163872 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumEndpointList. | {
"resource": ""
} | ||
c163873 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumNetworkPolicy. | {
"resource": ""
} | ||
c163874 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumNetworkPolicyList. | {
"resource": ""
} | ||
c163875 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumNetworkPolicyNodeStatus. | {
"resource": ""
} | ||
c163876 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumNetworkPolicyStatus. | {
"resource": ""
} | ||
c163877 | train | // GetAllTypes returns a slice of all known message types, sorted | {
"resource": ""
} | ||
c163878 | train | // RemoveIfFromNetNSIfExists removes the given interface from the given
// network namespace.
//
// If the interface does not exist, no error will be returned. | {
"resource": ""
} | ||
c163879 | train | // ListNamedNetNSWithPrefix returns list of named network namespaces which name
// starts with the given prefix. | {
"resource": ""
} | ||
c163880 | train | // setOpts validates the specified options against the selected backend and
// then modifies the configuration | {
"resource": ""
} | ||
c163881 | train | // Setup sets up the key-value store specified in kvStore and configures it
// with the options provided in opts | {
"resource": ""
} | ||
c163882 | train | // ToHost converts Service6Key to host byte order. | {
"resource": ""
} | ||
c163883 | train | // ToNetwork converts Service6Value ports to network byte order. | {
"resource": ""
} | ||
c163884 | train | // ToHost converts Service6Value ports to host byte order. | {
"resource": ""
} | ||
c163885 | train | // ToNetwork converts RevNat6Key to network byte order. | {
"resource": ""
} | ||
c163886 | train | // Make this more general connection event callback
//export Close | {
"resource": ""
} | ||
c163887 | train | // OpenModule is called before any other APIs.
// Called concurrently by different filter instances.
// Returns a library instance ID that must be passed to all other API calls.
// Calls with the same parameters will return the same instance.
// Zero return value indicates an error.
//export OpenModule | {
"resource": ""
} | ||
c163888 | train | // ToNetwork converts Service4Key port to network byte order. | {
"resource": ""
} | ||
c163889 | train | // ToNetwork converts RevNat4Key to network byte order. | {
"resource": ""
} | ||
c163890 | train | // ToNetwork converts RevNat4Value to network byte order. | {
"resource": ""
} | ||
c163891 | train | // NewGetService creates a new http.Handler for the get service operation | {
"resource": ""
} | ||
c163892 | train | // NewPostIPAMIP creates a new http.Handler for the post IP a m IP operation | {
"resource": ""
} | ||
c163893 | train | // WithTimeout adds the timeout to the get status params | {
"resource": ""
} | ||
c163894 | train | // WithContext adds the context to the get status params | {
"resource": ""
} | ||
c163895 | train | // WithHTTPClient adds the HTTPClient to the get status params | {
"resource": ""
} | ||
c163896 | train | // WithPayload adds the payload to the get prefilter o k response | {
"resource": ""
} | ||
c163897 | train | // WithPayload adds the payload to the get prefilter failure response | {
"resource": ""
} | ||
c163898 | train | // AllocateCIDRs attempts to allocate identities for a list of CIDRs. If any
// allocation fails, all allocations are rolled back and the error is returned.
// When an identity is freshly allocated for a CIDR, it is added to the
// ipcache. | {
"resource": ""
} | ||
c163899 | train | // ReleaseCIDRs releases the identities of a list of CIDRs. When the last use
// of the identity is released, the ipcache entry is deleted. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.