_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c26600 | train | // String returns the string representation of a RADIUS attribute type. | {
"resource": ""
} | ||
c26601 | train | // radiusPassword encodes a password using the algorithm described in RFC2865
// section 5.2. | {
"resource": ""
} | ||
c26602 | train | // responseAuthenticator calculates the response authenticator for a RADIUS
// response packet, as per RFC2865 section 3. | {
"resource": ""
} | ||
c26603 | train | // NewRADIUSChecker returns an initialised RADIUSChecker. | {
"resource": ""
} | ||
c26604 | train | // NewCluster returns an initialised Cluster structure. | {
"resource": ""
} | ||
c26605 | train | // AddBGPPeer adds a BGP peer to a Seesaw Cluster. | {
"resource": ""
} | ||
c26606 | train | // AddNode adds a Seesaw Node to a Seesaw Cluster. | {
"resource": ""
} | ||
c26607 | train | // AddVIPSubnet adds a VIP Subnet to a Seesaw Cluster. | {
"resource": ""
} | ||
c26608 | train | // AddVserver adds a Vserver to a Seesaw Cluster. | {
"resource": ""
} | ||
c26609 | train | // AddVLAN adds a VLAN to a Seesaw Cluster. | {
"resource": ""
} | ||
c26610 | train | // Equal reports whether this cluster is equal to the given cluster. | {
"resource": ""
} | ||
c26611 | train | // NewVserver creates a new, initialised Vserver structure. | {
"resource": ""
} | ||
c26612 | train | // AddVserverEntry adds an VserverEntry to a Vserver. | {
"resource": ""
} | ||
c26613 | train | // AddBackend adds a Backend to a Vserver. | {
"resource": ""
} | ||
c26614 | train | // AddHealthcheck adds a Healthcheck to a Vserver. | {
"resource": ""
} | ||
c26615 | train | // AddVIP adds a VIP to a Vserver. | {
"resource": ""
} | ||
c26616 | train | // NewVserverEntry creates a new, initialised VserverEntry structure. | {
"resource": ""
} | ||
c26617 | train | // Key returns the unique identifier for a VserverEntry. | {
"resource": ""
} | ||
c26618 | train | // Snapshot returns a snapshot for a VserverEntry. | {
"resource": ""
} | ||
c26619 | train | // NewHealthcheck creates a new, initialised Healthcheck structure. | {
"resource": ""
} | ||
c26620 | train | // quaggaBGP establishes a connection with the Quagga BGP daemon. | {
"resource": ""
} | ||
c26621 | train | // BGPConfig returns the current configuration for the Quagga BGP daemon. | {
"resource": ""
} | ||
c26622 | train | // BGPNeighbors returns the current BGP neighbors for the Quagga BGP daemon. | {
"resource": ""
} | ||
c26623 | train | // hostMask returns an IP mask that corresponds with a host prefix. | {
"resource": ""
} | ||
c26624 | train | // BGPWithdrawAll removes all network advertisements from the Quagga BGP daemon. | {
"resource": ""
} | ||
c26625 | train | // BGPAdvertiseVIP requests the Quagga BGP daemon to advertise the given VIP. | {
"resource": ""
} | ||
c26626 | train | // newHAManager creates a new haManager with the given HA state timeout. | {
"resource": ""
} | ||
c26627 | train | // state returns the current HA state known by the engine. | {
"resource": ""
} | ||
c26628 | train | // enable enables HA peering for the node on which the engine is running. | {
"resource": ""
} | ||
c26629 | train | // failover returns true if the HA component should relinquish master state. | {
"resource": ""
} | ||
c26630 | train | // requestFailover requests the node to initiate a failover. | {
"resource": ""
} | ||
c26631 | train | // setState sets the HAState of the engine and dispatches events when the state
// changes. | {
"resource": ""
} | ||
c26632 | train | // setStatus updates the engine HAStatus. | {
"resource": ""
} | ||
c26633 | train | // timer returns a channel that receives a Time object when the current HA state
// expires. | {
"resource": ""
} | ||
c26634 | train | // Execute executes the given command line. | {
"resource": ""
} | ||
c26635 | train | // FindCommand tokenises a command line and attempts to locate the
// corresponding Command. If a matching command is found it is returned,
// along with the remaining arguments. If the command has sub-commands then
// the list of sub-commands is returned instead. A chain of matched commands
// is also returned, along ... | {
"resource": ""
} | ||
c26636 | train | // String returns a string representation of the given BGP state. | {
"resource": ""
} | ||
c26637 | train | // BGPStateByName returns the BGP state that corresponds to the given name. | {
"resource": ""
} | ||
c26638 | train | // NewBGP returns an initialised BGP structure. | {
"resource": ""
} | ||
c26639 | train | // Enable issues an "enable" command to the BGP daemon. | {
"resource": ""
} | ||
c26640 | train | // Configuration returns the current running configuration from the BGP daemon,
// as a slice of strings. | {
"resource": ""
} | ||
c26641 | train | // Neighbors returns a list of BGP neighbors that we are currently peering with. | {
"resource": ""
} | ||
c26642 | train | // network adds or removes a network statement from the BGP configuration. | {
"resource": ""
} | ||
c26643 | train | // Advertise requests the BGP daemon to advertise the specified network. | {
"resource": ""
} | ||
c26644 | train | // Withdraw requests the BGP daemon to withdraw advertisements for the
// specified network. | {
"resource": ""
} | ||
c26645 | train | // parseNeighbors parses the "show ip bgp neighbors" output from the Quagga
// BGP daemon and returns a slice of Neighbor structs. | {
"resource": ""
} | ||
c26646 | train | // NewUDPChecker returns an initialised UDPChecker. | {
"resource": ""
} | ||
c26647 | train | // Check executes a UDP healthcheck. | {
"resource": ""
} | ||
c26648 | train | // cfgOpt returns the configuration option from the specified section. If the
// option does not exist an empty string is returned. | {
"resource": ""
} | ||
c26649 | train | // cfgIP returns configuration option from the specified section, as an IP
// address. If the option does not exist or is blank, a nil IP is returned. | {
"resource": ""
} | ||
c26650 | train | // Close implements the LogStore interface | {
"resource": ""
} | ||
c26651 | train | // FirstIndex implements the LogStore interface | {
"resource": ""
} | ||
c26652 | train | // LastIndex implements the LogStore interface | {
"resource": ""
} | ||
c26653 | train | // GetLog implements the LogStore interface | {
"resource": ""
} | ||
c26654 | train | // StoreLog implements the LogStore interface | {
"resource": ""
} | ||
c26655 | train | // StoreLogs implements the LogStore interface | {
"resource": ""
} | ||
c26656 | train | // DeleteRange implements the LogStore interface | {
"resource": ""
} | ||
c26657 | train | // Set implements the Stable interface | {
"resource": ""
} | ||
c26658 | train | // Get implements the Stable interface | {
"resource": ""
} | ||
c26659 | train | // SetUint64 implements the Stable interface | {
"resource": ""
} | ||
c26660 | train | // GetUint64 implements the Stable interface | {
"resource": ""
} | ||
c26661 | train | // Restore is used to restore an FSM from a snapshot. It is not called
// concurrently with any other command. The FSM must discard all previous
// state. | {
"resource": ""
} | ||
c26662 | train | // NewRaftStore returns an instarce of a RaftStore | {
"resource": ""
} | ||
c26663 | train | // setLimits makes a copy of the given StoreLimits,
// validates the limits and if ok, applies the inheritance. | {
"resource": ""
} | ||
c26664 | train | // Returns the appropriate limits for this channel based on inheritance.
// The channel is assumed to be a literal, and the store lock held on entry. | {
"resource": ""
} | ||
c26665 | train | // GetChannelLimits implements the Store interface | {
"resource": ""
} | ||
c26666 | train | // SetLimits sets limits for this store | {
"resource": ""
} | ||
c26667 | train | // canAddChannel returns true if the current number of channels is below the limit.
// If a channel named `channelName` alreadt exists, an error is returned.
// Store lock is assumed to be locked. | {
"resource": ""
} | ||
c26668 | train | // Close closes all stores | {
"resource": ""
} | ||
c26669 | train | // close closes all stores. Store lock is assumed held on entry | {
"resource": ""
} | ||
c26670 | train | // State returns some statistics related to this store | {
"resource": ""
} | ||
c26671 | train | // FirstSequence returns sequence for first message stored. | {
"resource": ""
} | ||
c26672 | train | // LastSequence returns sequence for last message stored. | {
"resource": ""
} | ||
c26673 | train | // FirstAndLastSequence returns sequences for the first and last messages stored. | {
"resource": ""
} | ||
c26674 | train | // CreateSub records a new subscription represented by SubState. On success,
// it records the subscription's ID in SubState.ID. This ID is to be used
// by the other SubStore methods. | {
"resource": ""
} | ||
c26675 | train | // createSub checks that the number of subscriptions is below the max
// and if so, assigns a new subscription ID and keep track of it in a map.
// Lock is assumed to be held on entry. | {
"resource": ""
} | ||
c26676 | train | // Initialize the channels partitions objects and issue the first
// request to check if other servers in the cluster incorrectly have
// any of the channel that this server is supposed to handle. | {
"resource": ""
} | ||
c26677 | train | // Creates the channels map based on the store's PerChannel map that was given. | {
"resource": ""
} | ||
c26678 | train | // Topology changed. Sends the list of channels. | {
"resource": ""
} | ||
c26679 | train | // Create the internal subscriptions on the list of channels. | {
"resource": ""
} | ||
c26680 | train | // Decode the incoming partitioning protocol message.
// It can be an HB, in which case, if it is from a new server
// we send our list to the cluster, or it can be a request
// from another server. If so, we reply to the given inbox
// with either an empty Data field or the name of the first
// channel we have in comm... | {
"resource": ""
} | ||
c26681 | train | // Notifies all go-routines used by partitioning code that the
// server is shuting down and closes the internal NATS connection. | {
"resource": ""
} | ||
c26682 | train | // checkType returns a formatted error if `v` is not of the expected kind. | {
"resource": ""
} | ||
c26683 | train | // parseTLS updates `opts` with TLS config | {
"resource": ""
} | ||
c26684 | train | // parseStoreLimits updates `opts` with store limits | {
"resource": ""
} | ||
c26685 | train | // parseChannelLimits updates `cl` with channel limits. | {
"resource": ""
} | ||
c26686 | train | // parsePerChannelLimits updates `opts` with per channel limits. | {
"resource": ""
} | ||
c26687 | train | // getBytes returns the number of bytes from the flag's String size.
// For instance, 1KB would return 1024. | {
"resource": ""
} | ||
c26688 | train | // addToCache will add the new entry to existing cache
// entries if needed. Assumes write lock is held. | {
"resource": ""
} | ||
c26689 | train | // removeFromCache will remove any active cache entries on that subject.
// Assumes write lock is held. | {
"resource": ""
} | ||
c26690 | train | // Match will match all entries to the literal subject.
// It will return a set of results. | {
"resource": ""
} | ||
c26691 | train | // Remove will remove an element from the sublist. | {
"resource": ""
} | ||
c26692 | train | // Removes an element from a list. | {
"resource": ""
} | ||
c26693 | train | // Checks if we need to do a resize. This is for very large growth then
// subsequent return to a more normal size from unsubscribe. | {
"resource": ""
} | ||
c26694 | train | // CacheCount returns the number of result sets in the cache. | {
"resource": ""
} | ||
c26695 | train | // Starts the delete timer that when firing will post
// a channel delete request to the ioLoop.
// The channelStore's mutex must be held on entry. | {
"resource": ""
} | ||
c26696 | train | // Stops the delete timer.
// The channelStore's mutex must be held on entry. | {
"resource": ""
} | ||
c26697 | train | // Resets the delete timer to the given duration.
// If the timer was not created, this call will create it.
// The channelStore's mutex must be held on entry. | {
"resource": ""
} | ||
c26698 | train | // pubMsgToMsgProto converts a PubMsg to a MsgProto and assigns a timestamp
// which is monotonic with respect to the channel. | {
"resource": ""
} | ||
c26699 | train | // Sets a subscription that will handle snapshot restore requests from followers. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.