_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c6300 | // Add a node to the cache and pop the least recently used node if we've
// reached the cache size limit. | |
c6301 | // Write to disk. | |
c6302 | // SaveRoot creates an entry on disk for the given root, so that it can be
// loaded later. | |
c6303 | // SaveEmptyRoot creates an entry on disk for an empty root. | |
c6304 | // Find searches the html.Node that matches by the specified XPath expr. | |
c6305 | // LoadURL loads the HTML document from the specified URL. | |
c6306 | // Parse returns the parse tree for the HTML from the given Reader. | |
c6307 | // InnerText returns the text between the start and end tags of the object. | |
c6308 | // OutputHTML returns the text including tags name. | |
c6309 | // GetOrganization takes an organization id and Arguments and either
// GETs returns an Organization, or an error. | |
c6310 | // GetToken takes a token id and Arguments and GETs and returns the Token or an error. | |
c6311 | // FirstCardCreateAction returns first card-create action | |
c6312 | // FilterToCardCreationActions returns this collection's card-create actions | |
c6313 | // FilterToListChangeActions returns card-change-list actions | |
c6314 | // FilterToCardMembershipChangeActions returns the collection's card-change, archive and unarchive actions | |
c6315 | // GetMember takes a member id and Arguments and returns a Member or an error. | |
c6316 | // GetMembers takes Arguments and returns a slice of all members of the organization or an error. | |
c6317 | // GetMembers takes Arguments and returns a slice of all members of the Board or an error. | |
c6318 | // GetMembers takes Arguments and returns a slice of all members of the Card or an error. | |
c6319 | // GetCustomField takes a field id string and Arguments and returns the matching custom Field. | |
c6320 | // GetCustomFields returns a slice of all receiver board's custom fields. | |
c6321 | // Less takes two indexes i and j and returns true exactly if the ListDuration
// at i was entered before j. | |
c6322 | // GetMemberDurations returns a slice containing all durations of a card. | |
c6323 | // NewBoard is a constructor that sets the default values
// for Prefs.SelfJoin and Prefs.CardCovers also set by the API. | |
c6324 | // CreatedAt returns a board's created-at attribute as time.Time. | |
c6325 | // Delete makes a DELETE call for the receiver Board. | |
c6326 | // GetBoard retrieves a Trello board by its ID. | |
c6327 | // GetMyBoards returns a slice of all boards associated with the credentials set on the client. | |
c6328 | // GetBoards returns a slice of all public boards of the receiver Member. | |
c6329 | // NewClient is a constructor for the Client. It takes the key and token credentials
// of a Trello member to authenticate and authorise requests with. | |
c6330 | // WithContext takes a context.Context, sets it as context on the client and returns
// a Client pointer. | |
c6331 | // GetMyNotifications returns the notifications of the authenticated user | |
c6332 | // CreateWebhook takes a Webhook, POSTs it and returns an error object. | |
c6333 | // GetWebhook takes a webhook id and Arguments, GETs the matching Webhook and returns it or an error. | |
c6334 | // GetWebhooks takes Arguments and returns a list of all Webhooks for the receiver Token or an error. | |
c6335 | // GetBoardWebhookRequest takes a http.Request and returns the decoded body as BoardWebhookRequest or an error. | |
c6336 | // CreatedAt returns the receiver card's created-at attribute as time.Time. | |
c6337 | // CustomFields returns the card's custom fields. | |
c6338 | // MoveToList moves a card to a list given by listID. | |
c6339 | // SetPos sets a card's new position. | |
c6340 | // RemoveMember receives the id of a member and removes the corresponding member from the card. | |
c6341 | // AddMemberID receives a member id and adds the corresponding member to the card.
// Returns a list of the card's members or an error. | |
c6342 | // RemoveIDLabel removes a label id from the card. | |
c6343 | // AddIDLabel receives a label id and adds the corresponding label or returns an error. | |
c6344 | // MoveToTopOfList moves the card to the top of it's list. | |
c6345 | // Update UPDATEs the card's attributes. | |
c6346 | // CreateCard takes a Card and Arguments and POSTs the card. | |
c6347 | // AddCard takes a Card and Arguments and adds the card to the receiver list. | |
c6348 | // AddComment takes a comment string and Arguments and adds the comment to the card. | |
c6349 | // AddURLAttachment takes an Attachment and adds it to the card. | |
c6350 | // GetParentCard retrieves the originating Card if the Card was created
// from a copy of another Card. Returns an error only when a low-level failure occurred.
// If this Card has no parent, a nil card and nil error are returned. In other words, the
// non-existence of a parent is not treated as an error. | |
c6351 | // GetAncestorCards takes Arguments, GETs the card's ancestors and returns them as a slice. | |
c6352 | // GetOriginatingCard takes Arguments, GETs ancestors and returns most recent ancestor card of the Card. | |
c6353 | // CreatorMember returns the member of the card who created it or and error.
// The creator is the member who is associated with the card's first action. | |
c6354 | // CreatorMemberID returns as string the id of the member who created the card or an error.
// The creator is the member who is associated with the card's first action. | |
c6355 | // ContainsCopyOfCard accepts a card id and Arguments and returns true
// if the receiver Board contains a Card with the id. | |
c6356 | // GetCard receives a card id and Arguments and returns the card if found
// with the credentials given for the receiver Client. Returns an error
// otherwise. | |
c6357 | // GetCards takes Arguments and retrieves all Cards on a Board as slice or returns error. | |
c6358 | // GetCards retrieves all Cards in a List or an error if something goes wrong. | |
c6359 | // GetLabels takes Arguments and returns a slice containing all labels of the receiver board or an error. | |
c6360 | // ToURLValues returns the argument's URL value representation. | |
c6361 | // GetActions make a GET call for a board's actions | |
c6362 | // GetActions makes a GET call for a list's actions | |
c6363 | // GetActions makes a GET for a card's actions | |
c6364 | // GetMembershipChangeActions makes a GET call for a card's membership-change actions | |
c6365 | // DidArchiveCard returns true if the card was updated | |
c6366 | // DidUnarchiveCard returns true if the card was unarchived | |
c6367 | // SearchCards takes a query string and Arguments and returns a slice of Cards or an error. | |
c6368 | // SearchBoards takes a query string and Arguments and returns a slice of Boards or an error. | |
c6369 | // SearchMembers takes a query string and Arguments and returns a slice of Members or an error. | |
c6370 | // IsRateLimit takes an error and returns true exactly if the error is a rate-limit error. | |
c6371 | // IsNotFound takes an error and returns true exactly if the error is a not-found error. | |
c6372 | // IsPermissionDenied takes an error and returns true exactly if the error is a
// permission-denied error. | |
c6373 | // CreatedAt returns the time.Time from the list's id. | |
c6374 | // GetList takes a list's id and Arguments and returns the matching list. | |
c6375 | // GetLists takes Arguments and returns the lists of the receiver Board. | |
c6376 | // IDToTime is a convenience function. It takes a Trello ID string and
// extracts the encoded create time as time.Time or an error. | |
c6377 | // AddDuration takes a duration and adds it to the ListDuration's Duration.
// Also increments TimesInList. | |
c6378 | // GetListDurations analyses a Card's actions to figure out how long it was in each List.
// It returns a slice of the ListDurations, one Duration per list, or an error. | |
c6379 | // GetListDurations returns a slice of ListDurations based on the receiver Actions. | |
c6380 | // DefaultAlertConfig loads default config settings | |
c6381 | //sendEvent builds the event JSON and sends it to the iLert API | |
c6382 | // GetReminders returns list of reminders | |
c6383 | // SetReminder sets a reminder | |
c6384 | // DeleteReminder deletes a reminder | |
c6385 | // NewAlerts returns a list of checks marked for notification | |
c6386 | // CustomNotifiers returns a map of all custom notifiers and command path as the key value | |
c6387 | // getProfileForEntity returns the profile matching the exact path or the regexp
// entity is either 'service', 'check' or 'host' | |
c6388 | // GetProfileInfo returns profile info for check | |
c6389 | // IsBlacklisted gets the blacklist status of check | |
c6390 | // New returns a new structure for performing closest matches | |
c6391 | // Load can load a previously saved ClosestMatch object from disk | |
c6392 | // Add more words to ClosestMatch structure | |
c6393 | // Save writes the current ClosestSave object as a gzipped JSON file | |
c6394 | // Closest searches for the `searchWord` and returns the closest match | |
c6395 | // ClosestN searches for the `searchWord` and returns the n closests matches | |
c6396 | // Open will load a connection to BoltDB | |
c6397 | // UnmarshalYAML implements the yaml.Unmarshaler interface for URLs. | |
c6398 | // MarshalYAML implements the yaml.Marshaler interface for URLs. | |
c6399 | // Validate validates the HTTPClientConfig to check only one of BearerToken,
// BasicAuth and BearerTokenFile is configured. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.