_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c171500
// Tell the kernel the label for all files to be created
c171501
// Change the label of path to the filelabel string. If the relabel string // is "z", relabel will change the MCS label to s0. This will allow all // containers to share the content. If the relabel string is a "Z" then // the MCS label should continue to be used. SELinux will use this field // to make sure the cont...
c171502
// Returns an array of IPNet for all the currently routed subnets on ipv4 // This is similar to the first column of "ip route" output
c171503
// Create the actual bridge device. This is more backward-compatible than // netlink.NetworkLinkAdd and works on RHEL 6.
c171504
// Delete the actual bridge device.
c171505
// Detach a slave from a bridge device. This is more backward-compatible than // netlink.NetworkSetMaster and works on RHEL 6.
c171506
// labelIndex returns the index for the label if it exists in the slice. // if it does not exist in the slice it appends the label lb to the end // of the slice and returns the index.
c171507
// getSelinuxMountPoint returns the path to the mountpoint of an selinuxfs // filesystem or an empty string if no mountpoint is found. Selinuxfs is // a proc-like pseudo-filesystem that exposes the selinux policy API to // processes. The existence of an selinuxfs mount is used to determine // whether selinux is curre...
c171508
// SelinuxEnabled returns whether selinux is currently enabled.
c171509
// Setfilecon sets the SELinux label for this path or returns an error.
c171510
// Getfilecon returns the SELinux label for this path or returns an error.
c171511
// Change the fpath file object to the SELinux label scon. // If the fpath is a directory and recurse is true Chcon will walk the // directory tree setting the label
c171512
// DupSecOpt takes an SELinux process label and returns security options that // can will set the SELinux Type and Level for future container processes
c171513
// attach a container network interface to an external network
c171514
// Add will add the specified syscall, action, and arguments to the seccomp // Context.
c171515
// Load will apply the Context to the calling process makeing any secccomp process changes // apply after the context is loaded.
c171516
// newGraph returns a new graph.
c171517
// MakeDisjointSet creates a DisjointSet.
c171518
// FindSet returns the DisjointSet with the represent name.
c171519
// Union unions two DisjointSet, with ds1's represent.
c171520
// Me returns information about the current user
c171521
// ListProjects returns the list of projects the user is watching
c171522
// DisableProject disables a project
c171523
// FollowProject follows a project
c171524
// GetProject retrieves a specific project // Returns nil of the project is not in the list of watched projects
c171525
// ListRecentBuilds fetches the list of recent builds for all repositories the user is watching // If limit is -1, fetches all builds
c171526
// ListRecentBuildsForProject fetches the list of recent builds for the given repository // The status and branch parameters are used to further filter results if non-empty // If limit is -1, fetches all builds
c171527
// ListBuildArtifacts fetches the build artifacts for the given build
c171528
// AddSSHUser adds the user associated with the API token to the list of valid // SSH users for a build. // // The API token being used must be a user API token
c171529
// Build triggers a new build for the given project for the given // project on the given branch. // Returns the new build information
c171530
// ParameterizedBuild triggers a new parameterized build for the given // project on the given branch, Marshaling the struct into json and passing // in the post body. // Returns the new build information
c171531
// BuildOpts triggeres a new build for the givent project on the given // branch, Marshaling the struct into json and passing // in the post body. // Returns the new build information
c171532
// ClearCache clears the cache of the specified project // Returns the status returned by CircleCI
c171533
// DeleteEnvVar deletes the specified environment variable from the project
c171534
// AddSSHKey adds a new SSH key to the project
c171535
// GetActionOutputs fetches the output for the given action // If the action has no output, returns nil
c171536
// ListCheckoutKeys fetches the checkout keys associated with the given project
c171537
// CreateCheckoutKey creates a new checkout key for a project // Valid key types are currently deploy-key and github-user-key // // The github-user-key type requires that the API token being used be a user API token
c171538
// GetCheckoutKey fetches the checkout key for the given project by fingerprint
c171539
// DeleteCheckoutKey fetches the checkout key for the given project by fingerprint
c171540
// New returns a new Client.
c171541
// Clone returns a clone of the Client. The cloned Client inherits its // configuration from its parent. // // All cloned Clients share the same connection, so cloning a Client is a cheap // operation.
c171542
// Count adds n to bucket.
c171543
// Gauge records an absolute value for the given bucket.
c171544
// Timing sends a timing value to a bucket.
c171545
// Send sends the time elapsed since the creation of the Timing.
c171546
// Unique sends the given value to a set bucket.
c171547
// Flush flushes the Client's buffer.
c171548
// Close flushes the Client's buffer and releases the associated ressources. The // Client and all the cloned Clients must not be used afterward.
c171549
// SampleRate sets the sample rate of the Client. It allows sending the metrics // less often which can be useful for performance intensive code paths.
c171550
// Prefix appends the prefix that will be used in every bucket name. // // Note that when used in cloned, the prefix of the parent Client is not // replaced but is prepended to the given prefix.
c171551
// TagsFormat sets the format of tags.
c171552
// Tags appends the given tags to the tags sent with every metrics. If a tag // already exists, it is replaced. // // The tags must be set as key-value pairs. If the number of tags is not even, // Tags panics. // // If the format of tags have not been set using the TagsFormat option, the tags // will be ignored.
c171553
// flush flushes the first n bytes of the buffer. // If n is 0, the whole buffer is flushed.
c171554
//BuildQwerty builds the Qwerty Graph
c171555
//BuildDvorak builds the Dvorak Graph
c171556
//BuildKeypad builds the Keypad Graph
c171557
//BuildMacKeypad builds the Mac Keypad Graph
c171558
//BuildLeet builds the L33T Graph
c171559
// DictionaryEntropy calculates the entropy of a dictionary match
c171560
// SpatialEntropy calculates the entropy for spatial matches
c171561
// RepeatEntropy calculates the entropy for repeating entropy
c171562
// SequenceEntropy calculates the entropy for sequences such as 4567 or cdef
c171563
// ExtraLeetEntropy calulates the added entropy provied by l33t substitustions
c171564
// DateEntropy calculates the entropy provided by a date
c171565
// Omnimatch runs all matchers against the password
c171566
// Null verifies the contents of bytes provided is a null starting as pos
c171567
// Number returns the end position of the number that begins at the specified pos
c171568
// Array returns the position of the end of the array that begins at the position specified
c171569
// FindRange finds the elements of an array between the specified indexes; inclusive
c171570
// Object returns the position of the end of the object that begins at the specified pos
c171571
// FindKey accepts a JSON object and returns the value associated with the key specified
c171572
// FindIndex accepts a JSON array and return the value of the element at the specified index
c171573
// Dot extract the specific key from the map provided; to extract a nested value, use the Dot Op in conjunction with the // Chain Op
c171574
// Chain executes a series of operations in the order provided
c171575
// Index extracts a specific element from the array provided
c171576
// Range extracts a selection of elements from the array provided, inclusive
c171577
// String returns the position of the string that begins at the specified pos
c171578
// Boolean matches a boolean at the specified position
c171579
// Must is a convenience method similar to template.Must
c171580
// Parse takes a string representation of a selector and returns the corresponding Op definition
c171581
// Any returns the position of the end of the current element that begins at pos; handles any valid json element
c171582
// ProxyRequestFromContext extracts the APIGatewayProxyRequest event from ctx.
c171583
// DurationValue returns the value of the Duration pointer passed in or // the default value if the pointer is nil.
c171584
// Base64Value returns the value of the Base64 pointer passed in or // the default value if the pointer is nil.
c171585
// URIValue returns the value of the URI pointer passed in or // the default value if the pointer is nil.
c171586
// EmailValue returns the value of the Email pointer passed in or // the default value if the pointer is nil.
c171587
// HostnameValue returns the value of the Hostname pointer passed in or // the default value if the pointer is nil.
c171588
// IPv4Value returns the value of the IPv4 pointer passed in or // the default value if the pointer is nil.
c171589
// IPv6Value returns the value of the IPv6 pointer passed in or // the default value if the pointer is nil.
c171590
// CIDRValue returns the value of the CIDR pointer passed in or // the default value if the pointer is nil.
c171591
// MACValue returns the value of the MAC pointer passed in or // the default value if the pointer is nil.
c171592
// UUIDValue returns the value of the UUID pointer passed in or // the default value if the pointer is nil.
c171593
// UUID3Value returns the value of the UUID3 pointer passed in or // the default value if the pointer is nil.
c171594
// UUID4Value returns the value of the UUID4 pointer passed in or // the default value if the pointer is nil.
c171595
// UUID5Value returns the value of the UUID5 pointer passed in or // the default value if the pointer is nil.
c171596
// ISBNValue returns the value of the ISBN pointer passed in or // the default value if the pointer is nil.
c171597
// ISBN10Value returns the value of the ISBN10 pointer passed in or // the default value if the pointer is nil.
c171598
// ISBN13Value returns the value of the ISBN13 pointer passed in or // the default value if the pointer is nil.
c171599
// CreditCardValue returns the value of the CreditCard pointer passed in or // the default value if the pointer is nil.