_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c26500 | train | // AF returns the address family of a seesaw IP address. | {
"resource": ""
} | ||
c26501 | train | // String returns the string representation of a LBMode. | {
"resource": ""
} | ||
c26502 | train | // String returns the string representation of a LBScheduler. | {
"resource": ""
} | ||
c26503 | train | // setSocketMark sets packet marking on the given socket. | {
"resource": ""
} | ||
c26504 | train | // setSocketTimeout sets the receive and send timeouts on the given socket. | {
"resource": ""
} | ||
c26505 | train | // newVserver returns an initialised vserver struct. | {
"resource": ""
} | ||
c26506 | train | // String returns a string representing a vserver. | {
"resource": ""
} | ||
c26507 | train | // ipvsService returns an IPVS Service for the given service. | {
"resource": ""
} | ||
c26508 | train | // ipvsEqual returns true if two services have the same IPVS configuration.
// Transient state and the services' destinations are ignored. | {
"resource": ""
} | ||
c26509 | train | // String returns a string representing a service. | {
"resource": ""
} | ||
c26510 | train | // ipvsDestination returns an IPVS Destination for the given destination. | {
"resource": ""
} | ||
c26511 | train | // ipvsEqual returns true if two destinations have the same IPVS configuration.
// Transient state is ignored. | {
"resource": ""
} | ||
c26512 | train | // String returns a string representing a destination. | {
"resource": ""
} | ||
c26513 | train | // name returns the name of a destination. | {
"resource": ""
} | ||
c26514 | train | // newCheckKey returns an initialised checkKey. | {
"resource": ""
} | ||
c26515 | train | // String returns the string representation of a checkKey. | {
"resource": ""
} | ||
c26516 | train | // newCheck returns an initialised check. | {
"resource": ""
} | ||
c26517 | train | // expandServices returns a list of services that have been expanded from the
// vserver configuration. | {
"resource": ""
} | ||
c26518 | train | // expandFWMServices returns a list of services that have been expanded from the
// vserver configuration for a firewall mark based vserver. | {
"resource": ""
} | ||
c26519 | train | // expandDests returns a list of destinations that have been expanded from the
// vserver configuration and a given service. | {
"resource": ""
} | ||
c26520 | train | // expandChecks returns a list of checks that have been expanded from the
// vserver configuration. | {
"resource": ""
} | ||
c26521 | train | // healthchecks returns the vserverChecks for a vserver. | {
"resource": ""
} | ||
c26522 | train | // run invokes a vserver. This is a long-lived Go routine that lasts for the
// duration of the vserver, reacting to configuration changes and healthcheck
// notifications. | {
"resource": ""
} | ||
c26523 | train | // handleConfigUpdate updates the internal structures of a vserver using the
// new configuration. | {
"resource": ""
} | ||
c26524 | train | // configInit initialises all services, destinations, healthchecks and VIPs for
// a vserver. | {
"resource": ""
} | ||
c26525 | train | // configUpdate updates the services, destinations, checks, and VIPs for a
// vserver. | {
"resource": ""
} | ||
c26526 | train | // deleteService deletes a service for a vserver. | {
"resource": ""
} | ||
c26527 | train | // handleCheckNotification processes a checkNotification, bringing
// destinations, services, and vservers up or down appropriately. | {
"resource": ""
} | ||
c26528 | train | // handleOverride processes an Override. | {
"resource": ""
} | ||
c26529 | train | // vserverEnabled returns true if a vserver having the given configuration
// and override state should be enabled. | {
"resource": ""
} | ||
c26530 | train | // snapshot exports the current running state of the vserver. | {
"resource": ""
} | ||
c26531 | train | // updateState updates the state of a destination based on the state of checks
// and propagates state changes to the service level if necessary. | {
"resource": ""
} | ||
c26532 | train | // up brings up a destination. | {
"resource": ""
} | ||
c26533 | train | // down takes down a destination. | {
"resource": ""
} | ||
c26534 | train | // update updates a destination while preserving its running state. | {
"resource": ""
} | ||
c26535 | train | // snapshot exports the current running state of a destination. | {
"resource": ""
} | ||
c26536 | train | // updateState updates the state of a service based on the state of its
// destinations and propagates state changes to the vserver level if necessary. | {
"resource": ""
} | ||
c26537 | train | // updateDests brings the destinations for a service up or down based on the
// state of the service and the health of each destination. | {
"resource": ""
} | ||
c26538 | train | // up brings up a service and all healthy destinations. | {
"resource": ""
} | ||
c26539 | train | // down takes down all destinations for a service, then takes down the
// service. | {
"resource": ""
} | ||
c26540 | train | // update updates a service while preserving its running state. | {
"resource": ""
} | ||
c26541 | train | // updateStats updates the IPVS statistics for this service. | {
"resource": ""
} | ||
c26542 | train | // snapshot exports the current running state of a service. | {
"resource": ""
} | ||
c26543 | train | // updateState updates the state of an IP for a vserver based on the state of
// that IP's services. | {
"resource": ""
} | ||
c26544 | train | // updateServices brings the services for a vserver up or down based on the
// state of the vserver and the health of each service. | {
"resource": ""
} | ||
c26545 | train | // up brings up all healthy services for an IP address for a vserver, then
// brings up the IP address. | {
"resource": ""
} | ||
c26546 | train | // downAll takes down all IP addresses and services for a vserver. | {
"resource": ""
} | ||
c26547 | train | // down takes down an IP address for a vserver, then takes down all services
// for that IP address. | {
"resource": ""
} | ||
c26548 | train | // configureVIPs configures VIPs on the load balancing interface. | {
"resource": ""
} | ||
c26549 | train | // unconfigureVIP removes a unicast VIP from the load balancing interface. | {
"resource": ""
} | ||
c26550 | train | // unconfigureVIPs removes unicast VIPs from the load balancing interface. | {
"resource": ""
} | ||
c26551 | train | // fetchFromHost attempts to fetch the specified URL from a specific host. | {
"resource": ""
} | ||
c26552 | train | // uint16FromNetwork converts the given value from its network byte order. | {
"resource": ""
} | ||
c26553 | train | // uint16ToNetwork converts the given value to its network byte order. | {
"resource": ""
} | ||
c26554 | train | // uint32FromNetwork converts the given value from its network byte order. | {
"resource": ""
} | ||
c26555 | train | // uint32ToNetwork converts the given value to its network byte order. | {
"resource": ""
} | ||
c26556 | train | // uint64FromNetwork converts the given value from its network byte order. | {
"resource": ""
} | ||
c26557 | train | // uint64ToNetwork converts the given value to its network byte order. | {
"resource": ""
} | ||
c26558 | train | // structMaxAttrID returns the maximum attribute ID found on netlink tagged
// fields within the given struct and any untagged structs it contains. | {
"resource": ""
} | ||
c26559 | train | // Error returns the string representation of a netlink error. | {
"resource": ""
} | ||
c26560 | train | // Family returns the family identifier for the specified family name. | {
"resource": ""
} | ||
c26561 | train | // validateInterface validates the name of a network interface. | {
"resource": ""
} | ||
c26562 | train | // ifaceDown sets the interface link state to down and preserves IPv6 addresses
// for both the given interface and any associated VLAN interfaces. | {
"resource": ""
} | ||
c26563 | train | // ifaceSetMAC sets the interface MAC address. | {
"resource": ""
} | ||
c26564 | train | // ifaceAddIPAddr adds the given IP address to the network interface. | {
"resource": ""
} | ||
c26565 | train | // ifaceAddIPv4Addr adds the given IPv4 address to the network interface. | {
"resource": ""
} | ||
c26566 | train | // ifaceAddIPv6Addr adds the given IPv6 address to the network interface. | {
"resource": ""
} | ||
c26567 | train | // ifaceAddVLAN creates a new VLAN interface on the given physical interface. | {
"resource": ""
} | ||
c26568 | train | // ifaceDelVLAN removes a VLAN interface from the given physical interface. | {
"resource": ""
} | ||
c26569 | train | // ifaceFlushVLANs removes all VLAN interfaces from the given physical
// interface. | {
"resource": ""
} | ||
c26570 | train | // routeDefaultIPv4 returns the default route for IPv4 traffic. | {
"resource": ""
} | ||
c26571 | train | // removeRoutes deletes the routing table entries for a VIP, from the specified
// table. | {
"resource": ""
} | ||
c26572 | train | // routeLocal removes all routes in the local routing table for the given VIP
// and adds new routes with the correct source address. | {
"resource": ""
} | ||
c26573 | train | // RouteDefaultIPv4 returns the default route for IPv4 traffic. | {
"resource": ""
} | ||
c26574 | train | // addClusterVIP adds a cluster VIP to the load balancing interface and
// performs additional network configuration. | {
"resource": ""
} | ||
c26575 | train | // LBInterfaceDown brings the load balancing interface down. | {
"resource": ""
} | ||
c26576 | train | // LBInterfaceUp brings the load balancing interface up. | {
"resource": ""
} | ||
c26577 | train | // LBInterfaceAddVserver adds the specified Vserver to the load balancing interface. | {
"resource": ""
} | ||
c26578 | train | // LBInterfaceDeleteVserver removes the specified Vserver from the load balancing interface. | {
"resource": ""
} | ||
c26579 | train | // LBInterfaceAddVIP adds the specified VIP to the load balancing interface. | {
"resource": ""
} | ||
c26580 | train | // LBInterfaceDeleteVIP removes the specified VIP from the load balancing
// interface. | {
"resource": ""
} | ||
c26581 | train | // LBInterfaceAddVLAN creates a VLAN interface on the load balancing interface. | {
"resource": ""
} | ||
c26582 | train | // LBInterfaceDeleteVLAN deletes a VLAN interface from the load balancing interface. | {
"resource": ""
} | ||
c26583 | train | // vlanInterfaces returns a slice containing the VLAN interfaces associated
// with a physical interface. | {
"resource": ""
} | ||
c26584 | train | // findInterfaceNetwork searches for the given IP address on the given physical
// interface and its associated VLAN interfaces. If the address is not
// configured on any interface, an error is returned. | {
"resource": ""
} | ||
c26585 | train | // findNetwork returns the network for the given IP address on the given
// interface. If the address is not configured on the interface, an error is
// returned. | {
"resource": ""
} | ||
c26586 | train | // newService returns an initialised service. | {
"resource": ""
} | ||
c26587 | train | // AddArgs adds the given string as arguments. | {
"resource": ""
} | ||
c26588 | train | // SetPriority sets the process priority for a service. | {
"resource": ""
} | ||
c26589 | train | // SetUser sets the user for a service. | {
"resource": ""
} | ||
c26590 | train | // run runs a service and restarts it upon termination, unless a shutdown
// notification has been received. | {
"resource": ""
} | ||
c26591 | train | // logFile creates a log file for this service. | {
"resource": ""
} | ||
c26592 | train | // logSink copies output from the given reader to a log file, before closing
// both the reader and the log file. | {
"resource": ""
} | ||
c26593 | train | // signal sends a signal to the service. | {
"resource": ""
} | ||
c26594 | train | // stop stops a running service. | {
"resource": ""
} | ||
c26595 | train | // bytes returns the wire representation of the ARP message. | {
"resource": ""
} | ||
c26596 | train | // gratuitousARPReply returns an ARP message that contains a gratuitous ARP
// reply from the specified sender. | {
"resource": ""
} | ||
c26597 | train | // sendARP sends the given ARP message via the specified interface. | {
"resource": ""
} | ||
c26598 | train | // ARPSendGratuitous sends a gratuitous ARP message via the specified interface. | {
"resource": ""
} | ||
c26599 | train | // String returns the string representation of a RADIUS code. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.