_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c173000
// CreateDashboard creates a new dashboard.
c173001
// DeleteDashboard deletes passed dashboard.
c173002
// DeleteDashboardByCID deletes dashboard with passed cid.
c173003
// A Text metric is an arbitrary string // // SetText sets a text metric
c173004
// SetTextValue sets a text metric
c173005
// RemoveText removes a text metric
c173006
// RemoveTextFunc a text metric function
c173007
// FetchAlert retrieves alert with passed cid.
c173008
// FetchAlerts retrieves all alerts available to the API Token.
c173009
// FetchRuleSet retrieves rule set with passed cid.
c173010
// FetchRuleSets retrieves all rule sets available to API Token.
c173011
// UpdateRuleSet updates passed rule set.
c173012
// CreateRuleSet creates a new rule set.
c173013
// DeleteRuleSet deletes passed rule set.
c173014
// DeleteRuleSetByCID deletes rule set with passed cid.
c173015
// IncrementByValue updates counter by supplied value
c173016
// Set a counter to specific value
c173017
// RemoveCounter removes the named counter
c173018
// RemoveCounterFunc removes the named counter function
c173019
// PromOutput returns lines of metrics in prom format
c173020
// Flush metrics kicks off the process of sending metrics to Circonus
c173021
// FetchWorksheet retrieves worksheet with passed cid.
c173022
// FetchWorksheets retrieves all worksheets available to API Token.
c173023
// UpdateWorksheet updates passed worksheet.
c173024
// CreateWorksheet creates a new worksheet.
c173025
// DeleteWorksheet deletes passed worksheet.
c173026
// DeleteWorksheetByCID deletes worksheet with passed cid.
c173027
// FetchContactGroup retrieves contact group with passed cid.
c173028
// FetchContactGroups retrieves all contact groups available to the API Token.
c173029
// UpdateContactGroup updates passed contact group.
c173030
// CreateContactGroup creates a new contact group.
c173031
// DeleteContactGroup deletes passed contact group.
c173032
// FetchBroker retrieves broker with passed cid.
c173033
// FetchBrokers returns all brokers available to the API Token.
c173034
// ActivateMetric determines if a given metric should be activated
c173035
// AddMetricTags updates check bundle metrics with tags
c173036
// addNewMetrics updates a check bundle with new metrics
c173037
// inventoryMetrics creates list of active metrics in check bundle
c173038
// countNewTags returns a count of new tags which do not exist in the current list of tags
c173039
// returns the plural form of a singular word
c173040
// returns the singular form of a plural word
c173041
// uppercase first character
c173042
// "dino_party" -> "DinoParty"
c173043
// getSuitableAlgFromCurve inspects the key length in curve, and determines the // corresponding jwt.Algorithm.
c173044
// getAlgFromKeyData determines the best jwt.Algorithm suitable based on the // set of given crypto primitives in pem.
c173045
// buildEncArgs builds and encodes passed argument strings in the form of // name=val as a json object.
c173046
// doDec decodes in as a JWT.
c173047
// doEnc encodes in as the payload in a JWT.
c173048
// Transport is a GServiceAccount option to set the client transport used by // the token source.
c173049
// Proxy is a GServiceAccount option to set a HTTP proxy used for by the token // source.
c173050
// Expiration is a GServiceAccount option to set a expiration limit for tokens // generated from the token source.
c173051
// Encode encodes a JWT using the Algorithm and Signer, returning the URL-safe // encoded token or any errors encountered during encoding.
c173052
// PeekHeaderField extracts the specified field from the serialized JWT buf's // header. An error will be returned if the field is not present in the decoded // header.
c173053
// PeekAlgorithm extracts the signing algorithm listed in the "alg" field of // the serialized JWT buf's header and attempts to unmarshal it into an // Algorithm. An error will be returned if the alg field is not specified in // the JWT header, or is otherwise invalid.
c173054
// PeekAlgorithmAndIssuer extracts the signing algorithm listed in the "alg" // field and the issuer from the "iss" field of the serialized JWT buf's header // and payload, attempting to unmarshal alg to Algorithm and iss to a string. // An error will be returned if the Algorithm or Issuer fields are not // specified i...
c173055
// NewEllipticSigner creates an Elliptic Curve Signer for the specified curve.
c173056
// NewTokenSource creates a oauth2.TokenSource that generates auth tokens // redeemed using the JWT Bearer Grant assertion auth flow using the supplied // jwt.Signer. A token redemption will be invoked at the tokenURL using the // supplied context. // // Use the Claim option to pass additional claims to the token sourc...
c173057
// Client returns a HTTP client using the bearer token.
c173058
// Sign signs the data in buf using rand, priv and hash.
c173059
// Verify verifies the signature sig against using pub, hash, and the hashed // data.
c173060
// NewRSASigner creates an RSA Signer for the specified Algorithm and provided // low level RSA implementation.
c173061
// getFieldWithTag lookups jwt tag, with specified tagName on obj, returning // its reflected value.
c173062
// decodeToObjOrFieldWithTag decodes the buf into obj's field having the // specified jwt tagName. If the provided obj's has the same type as // defaultObj, then the obj is set to the defaultObj, otherwise an attempt is // made to json.Decode the buf into obj.
c173063
// grabEncodeTargets grabs the fields for the obj.
c173064
// encodeTargets determines what to encode.
c173065
// peekField looks at an undecoded JWT, JSON decoding the data at pos, and // returning the specified field's value as string. // // If the fieldName is not present, then an error will be returned.
c173066
// ExpiresIn is an option that will set the expiration duration generated for // tokens to the specified duration.
c173067
// Claim is an option that adds an additional claim that is generated with the // token.
c173068
// Transport is an option that sets an underlying client transport to the // exchange process.
c173069
// NewHMACSigner creates a HMAC Signer for the specified Algorithm.
c173070
// FromJSON loads service account credentials from the JSON encoded buf.
c173071
// FromReader loads Google service account credentials from a reader.
c173072
// FromFile loads Google service account credentials from a reader.
c173073
// Signer returns a jwt.Signer for use when signing tokens.
c173074
// Encode serializes a JWT using the Algorithm and Signer.
c173075
// UnmarshalText attempts to unmarshal buf into an Algorithm.
c173076
// DecodeUnverifiedToken decodes a token into the provided UnverifiedToken.
c173077
// PublicKey returns the stored public key for the keystore, alternately // generating the public key from the private key if the public key was not // supplied and the private key was.
c173078
// PrivateKey returns the stored private key for the keystore.
c173079
// RegisterLocation registers an URL location and maps it to the given // file system path. // // Calling RegisterLocation twice for the same location is a // programmer error, and causes a panic.
c173080
// NewArena allocates a new arena of the specified size and returns it.
c173081
// NewSkiplist constructs and initializes a new, empty skiplist. All nodes, keys, // and values in the skiplist will be allocated from the given arena.
c173082
// Init associates the iterator with a skiplist and resets all state.
c173083
// Value returns the value at the current position.
c173084
// Set updates the value of the current iteration record if it has not been // updated or deleted since iterating or seeking to it. If the record has been // updated, then Set positions the iterator on the most current value and // returns ErrRecordUpdated. If the record has been deleted, then Set keeps // the iterator...
c173085
// SetMeta updates the meta value of the current iteration record if it has not // been updated or deleted since iterating or seeking to it. If the record has // been updated, then SetMeta positions the iterator on the most current value // and returns ErrRecordUpdated. If the record has been deleted, then SetMeta // k...
c173086
// Delete marks the current iterator record as deleted from the store if it // has not been updated since iterating or seeking to it. If the record has // been updated, then Delete positions the iterator on the most current value // and returns ErrRecordUpdated. If the record is deleted, then Delete positions // the it...
c173087
// IsSameArray returns true if the slices are the same length and the array // underlying the two slices is the same. Always returns false for empty arrays.
c173088
// New returns a new API client.
c173089
// WriteIndentedN indents all lines n spaces.
c173090
// WriteIndented indents all lines four spaces.
c173091
// NewReporter returns a new Reporter. You must specify the channel bufferSize and the // goroutine poolSize. You can pass in nil for the transport and it will create an // http transport with MaxIdleConnsPerHost set to the goroutine poolSize. Note if you // pass in your own transport, it's a good idea to have its M...
c173092
// Using the classic API, posts a count to a stat using DefaultReporter.
c173093
// Using the classic API, posts a count to a stat using DefaultReporter at a specific // time.
c173094
// Using the classic API, posts a value to a stat using DefaultReporter.
c173095
// Using the classic API, posts a value to a stat at a specific time using DefaultReporter.
c173096
// Using the EZ API, posts a count to a stat using DefaultReporter.
c173097
// Using the EZ API, posts a count to a stat at a specific time using DefaultReporter.
c173098
// Using the EZ API, posts a value to a stat using DefaultReporter.
c173099
// Using the EZ API, posts a value to a stat at a specific time using DefaultReporter.