{"payload":{"allShortcutsEnabled":false,"fileTree":{"bees":{"items":[{"name":"alertoverbee","path":"bees/alertoverbee","contentType":"directory"},{"name":"anelpowerctrlbee","path":"bees/anelpowerctrlbee","contentType":"directory"},{"name":"cfddnsbee","path":"bees/cfddnsbee","contentType":"directory"},{"name":"cleverbotbee","path":"bees/cleverbotbee","contentType":"directory"},{"name":"cricketbee","path":"bees/cricketbee","contentType":"directory"},{"name":"cronbee","path":"bees/cronbee","contentType":"directory"},{"name":"devrantbee","path":"bees/devrantbee","contentType":"directory"},{"name":"discordbee","path":"bees/discordbee","contentType":"directory"},{"name":"efabee","path":"bees/efabee","contentType":"directory"},{"name":"emailbee","path":"bees/emailbee","contentType":"directory"},{"name":"emailserverbee","path":"bees/emailserverbee","contentType":"directory"},{"name":"execbee","path":"bees/execbee","contentType":"directory"},{"name":"facebookbee","path":"bees/facebookbee","contentType":"directory"},{"name":"fsnotifybee","path":"bees/fsnotifybee","contentType":"directory"},{"name":"githubbee","path":"bees/githubbee","contentType":"directory"},{"name":"gitterbee","path":"bees/gitterbee","contentType":"directory"},{"name":"gotifybee","path":"bees/gotifybee","contentType":"directory"},{"name":"hellobee","path":"bees/hellobee","contentType":"directory"},{"name":"horizonboxbee","path":"bees/horizonboxbee","contentType":"directory"},{"name":"htmlextractbee","path":"bees/htmlextractbee","contentType":"directory"},{"name":"httpbee","path":"bees/httpbee","contentType":"directory"},{"name":"huebee","path":"bees/huebee","contentType":"directory"},{"name":"instapaperbee","path":"bees/instapaperbee","contentType":"directory"},{"name":"ipifybee","path":"bees/ipifybee","contentType":"directory"},{"name":"ircbee","path":"bees/ircbee","contentType":"directory"},{"name":"jabberbee","path":"bees/jabberbee","contentType":"directory"},{"name":"jenkinsbee","path":"bees/jenkinsbee","contentType":"directory"},{"name":"jirabee","path":"bees/jirabee","contentType":"directory"},{"name":"mastodonbee","path":"bees/mastodonbee","contentType":"directory"},{"name":"mixcloudbee","path":"bees/mixcloudbee","contentType":"directory"},{"name":"mumblebee","path":"bees/mumblebee","contentType":"directory"},{"name":"nagiosbee","path":"bees/nagiosbee","contentType":"directory"},{"name":"notificationbee","path":"bees/notificationbee","contentType":"directory"},{"name":"openweathermapbee","path":"bees/openweathermapbee","contentType":"directory"},{"name":"pastebinbee","path":"bees/pastebinbee","contentType":"directory"},{"name":"prometheusbee","path":"bees/prometheusbee","contentType":"directory"},{"name":"pushoverbee","path":"bees/pushoverbee","contentType":"directory"},{"name":"redisbee","path":"bees/redisbee","contentType":"directory"},{"name":"rocketchatbee","path":"bees/rocketchatbee","contentType":"directory"},{"name":"rssbee","path":"bees/rssbee","contentType":"directory"},{"name":"s3bee","path":"bees/s3bee","contentType":"directory"},{"name":"serialbee","path":"bees/serialbee","contentType":"directory"},{"name":"simplepushbee","path":"bees/simplepushbee","contentType":"directory"},{"name":"slackbee","path":"bees/slackbee","contentType":"directory"},{"name":"socketbee","path":"bees/socketbee","contentType":"directory"},{"name":"spaceapibee","path":"bees/spaceapibee","contentType":"directory"},{"name":"sunbee","path":"bees/sunbee","contentType":"directory"},{"name":"telegrambee","path":"bees/telegrambee","contentType":"directory"},{"name":"timebee","path":"bees/timebee","contentType":"directory"},{"name":"transmissionbee","path":"bees/transmissionbee","contentType":"directory"},{"name":"travisbee","path":"bees/travisbee","contentType":"directory"},{"name":"tumblrbee","path":"bees/tumblrbee","contentType":"directory"},{"name":"twiliobee","path":"bees/twiliobee","contentType":"directory"},{"name":"twitchbee","path":"bees/twitchbee","contentType":"directory"},{"name":"twitterbee","path":"bees/twitterbee","contentType":"directory"},{"name":"webbee","path":"bees/webbee","contentType":"directory"},{"name":"actions.go","path":"bees/actions.go","contentType":"file"},{"name":"bees.go","path":"bees/bees.go","contentType":"file"},{"name":"chains.go","path":"bees/chains.go","contentType":"file"},{"name":"config.go","path":"bees/config.go","contentType":"file"},{"name":"context.go","path":"bees/context.go","contentType":"file"},{"name":"descriptors.go","path":"bees/descriptors.go","contentType":"file"},{"name":"events.go","path":"bees/events.go","contentType":"file"},{"name":"factories.go","path":"bees/factories.go","contentType":"file"},{"name":"filters.go","path":"bees/filters.go","contentType":"file"},{"name":"logs.go","path":"bees/logs.go","contentType":"file"},{"name":"options.go","path":"bees/options.go","contentType":"file"},{"name":"placeholders.go","path":"bees/placeholders.go","contentType":"file"}],"totalCount":68},"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"admin","path":"admin","contentType":"directory"},{"name":"api","path":"api","contentType":"directory"},{"name":"app","path":"app","contentType":"directory"},{"name":"assets","path":"assets","contentType":"directory"},{"name":"bees","path":"bees","contentType":"directory"},{"name":"cfg","path":"cfg","contentType":"directory"},{"name":"config","path":"config","contentType":"submodule","submoduleUrl":"/muesli/beehive-admin-dist/tree/648f36d9834df3e2bac54009303e82ac272b68ca","submoduleDisplayName":"config @ 648f36d"},{"name":"docker","path":"docker","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"filters","path":"filters","contentType":"directory"},{"name":"templatehelper","path":"templatehelper","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":".appveyor.yml","path":".appveyor.yml","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".gitmodules","path":".gitmodules","contentType":"file"},{"name":".goreleaser.yml","path":".goreleaser.yml","contentType":"file"},{"name":"Dockerfile","path":"Dockerfile","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Makefile","path":"Makefile","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"beehive.go","path":"beehive.go","contentType":"file"},{"name":"build-constants.go","path":"build-constants.go","contentType":"file"},{"name":"docker-compose.yml","path":"docker-compose.yml","contentType":"file"},{"name":"go.mod","path":"go.mod","contentType":"file"},{"name":"go.sum","path":"go.sum","contentType":"file"},{"name":"hives.go","path":"hives.go","contentType":"file"},{"name":"hives_linux.go","path":"hives_linux.go","contentType":"file"},{"name":"hives_osx.go","path":"hives_osx.go","contentType":"file"},{"name":"hives_unix.go","path":"hives_unix.go","contentType":"file"},{"name":"watchdog_linux.go","path":"watchdog_linux.go","contentType":"file"}],"totalCount":31}},"fileTreeProcessingTime":11.623611,"foldersToFetch":[],"repo":{"id":21141781,"defaultBranch":"master","name":"beehive","ownerLogin":"muesli","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2014-06-23T20:46:31.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/146378?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1677290061.8502421","canEdit":false,"refType":"branch","currentOid":"d636b697737dae0523a8c9972c01dbe6227d89ec"},"path":"bees/actions.go","currentUser":null,"blob":{"rawLines":["/*"," * Copyright (C) 2014-2017 Christian Muehlhaeuser"," *"," * This program is free software: you can redistribute it and/or modify"," * it under the terms of the GNU Affero General Public License as published"," * by the Free Software Foundation, either version 3 of the License, or"," * (at your option) any later version."," *"," * This program is distributed in the hope that it will be useful,"," * but WITHOUT ANY WARRANTY; without even the implied warranty of"," * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"," * GNU Affero General Public License for more details."," *"," * You should have received a copy of the GNU Affero General Public License"," * along with this program. If not, see ."," *"," * Authors:"," * Christian Muehlhaeuser "," */","","// Package bees is Beehive's central module system.","package bees","","import (","\t\"bytes\"","\t\"text/template\"","","\tlog \"github.com/sirupsen/logrus\"","","\t\"github.com/muesli/beehive/templatehelper\"",")","","// Action describes an action.","type Action struct {","\tID string","\tBee string","\tName string","\tOptions Placeholders","}","","var (","\tactions []Action",")","","// GetActions returns all configured actions.","func GetActions() []Action {","\treturn actions","}","","// GetAction returns one action with a specific ID.","func GetAction(id string) *Action {","\tfor _, a := range actions {","\t\tif a.ID == id {","\t\t\treturn &a","\t\t}","\t}","","\treturn nil","}","","// SetActions sets the currently configured actions.","func SetActions(as []Action) {","\tactions = as","}","","// execAction executes an action and map its ins & outs.","func execAction(action Action, opts map[string]interface{}) bool {","\ta := Action{","\t\tBee: action.Bee,","\t\tName: action.Name,","\t}","","\tfor _, opt := range action.Options {","\t\tph := Placeholder{","\t\t\tName: opt.Name,","\t\t}","","\t\tswitch opt.Value.(type) {","\t\tcase string:","\t\t\tvar value bytes.Buffer","","\t\t\ttmpl, err := template.New(action.Bee + \"_\" + action.Name + \"_\" + opt.Name).Funcs(templatehelper.FuncMap).Parse(opt.Value.(string))","\t\t\tif err == nil {","\t\t\t\terr = tmpl.Execute(&value, opts)","\t\t\t}","\t\t\tif err != nil {","\t\t\t\tpanic(err)","\t\t\t}","","\t\t\tph.Type = \"string\"","\t\t\tph.Value = value.String()","","\t\tdefault:","\t\t\tph.Type = opt.Type","\t\t\tph.Value = opt.Value","\t\t}","\t\ta.Options = append(a.Options, ph)","\t}","","\tbee := GetBee(a.Bee)","\tif (*bee).IsRunning() {","\t\t(*bee).LogAction()","","\t\tlog.Debugln(\"\\tExecuting action:\", a.Bee, \"/\", a.Name, \"-\", GetActionDescriptor(&a).Description)","\t\tfor _, v := range a.Options {","\t\t\tlog.Debugln(\"\\t\\tOptions:\", v)","\t\t}","","\t\t(*bee).Action(a)","\t} else {","\t\tlog.Debugln(\"\\tNot executing action on stopped bee:\", a.Bee, \"/\", a.Name, \"-\", GetActionDescriptor(&a).Description)","\t\tfor _, v := range a.Options {","\t\t\tlog.Debugln(\"\\t\\tOptions:\", v)","\t\t}","\t}","","\treturn true","}"],"stylingDirectives":[[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":52,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":74,"cssClass":"pl-c"}],[{"start":0,"end":78,"cssClass":"pl-c"}],[{"start":0,"end":74,"cssClass":"pl-c"}],[{"start":0,"end":41,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":69,"cssClass":"pl-c"}],[{"start":0,"end":68,"cssClass":"pl-c"}],[{"start":0,"end":67,"cssClass":"pl-c"}],[{"start":0,"end":57,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":78,"cssClass":"pl-c"}],[{"start":0,"end":75,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":14,"cssClass":"pl-c"}],[{"start":0,"end":49,"cssClass":"pl-c"}],[{"start":0,"end":3,"cssClass":"pl-c"}],[],[{"start":0,"end":51,"cssClass":"pl-c"}],[{"start":0,"end":7,"cssClass":"pl-k"}],[],[{"start":0,"end":6,"cssClass":"pl-k"}],[{"start":1,"end":8,"cssClass":"pl-s"}],[{"start":1,"end":16,"cssClass":"pl-s"}],[],[{"start":5,"end":33,"cssClass":"pl-s"}],[],[{"start":1,"end":43,"cssClass":"pl-s"}],[],[],[{"start":0,"end":30,"cssClass":"pl-c"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":11,"cssClass":"pl-smi"},{"start":12,"end":18,"cssClass":"pl-k"}],[{"start":1,"end":3,"cssClass":"pl-c1"},{"start":9,"end":15,"cssClass":"pl-smi"}],[{"start":1,"end":4,"cssClass":"pl-c1"},{"start":9,"end":15,"cssClass":"pl-smi"}],[{"start":1,"end":5,"cssClass":"pl-c1"},{"start":9,"end":15,"cssClass":"pl-smi"}],[{"start":1,"end":8,"cssClass":"pl-c1"},{"start":9,"end":21,"cssClass":"pl-smi"}],[],[],[{"start":0,"end":3,"cssClass":"pl-k"}],[{"start":1,"end":8,"cssClass":"pl-s1"},{"start":11,"end":17,"cssClass":"pl-smi"}],[],[],[{"start":0,"end":45,"cssClass":"pl-c"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":15,"cssClass":"pl-en"},{"start":20,"end":26,"cssClass":"pl-smi"}],[{"start":1,"end":7,"cssClass":"pl-k"},{"start":8,"end":15,"cssClass":"pl-s1"}],[],[],[{"start":0,"end":51,"cssClass":"pl-c"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":14,"cssClass":"pl-en"},{"start":15,"end":17,"cssClass":"pl-s1"},{"start":18,"end":24,"cssClass":"pl-smi"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":27,"end":33,"cssClass":"pl-smi"}],[{"start":1,"end":4,"cssClass":"pl-k"},{"start":5,"end":6,"cssClass":"pl-s1"},{"start":8,"end":9,"cssClass":"pl-s1"},{"start":10,"end":12,"cssClass":"pl-c1"},{"start":13,"end":18,"cssClass":"pl-k"},{"start":19,"end":26,"cssClass":"pl-s1"}],[{"start":2,"end":4,"cssClass":"pl-k"},{"start":5,"end":6,"cssClass":"pl-s1"},{"start":7,"end":9,"cssClass":"pl-c1"},{"start":10,"end":12,"cssClass":"pl-c1"},{"start":13,"end":15,"cssClass":"pl-s1"}],[{"start":3,"end":9,"cssClass":"pl-k"},{"start":10,"end":11,"cssClass":"pl-c1"},{"start":11,"end":12,"cssClass":"pl-s1"}],[],[],[],[{"start":1,"end":7,"cssClass":"pl-k"},{"start":8,"end":11,"cssClass":"pl-c1"}],[],[],[{"start":0,"end":52,"cssClass":"pl-c"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":15,"cssClass":"pl-en"},{"start":16,"end":18,"cssClass":"pl-s1"},{"start":21,"end":27,"cssClass":"pl-smi"}],[{"start":1,"end":8,"cssClass":"pl-s1"},{"start":9,"end":10,"cssClass":"pl-c1"},{"start":11,"end":13,"cssClass":"pl-s1"}],[],[],[{"start":0,"end":56,"cssClass":"pl-c"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":5,"end":15,"cssClass":"pl-en"},{"start":16,"end":22,"cssClass":"pl-s1"},{"start":23,"end":29,"cssClass":"pl-smi"},{"start":31,"end":35,"cssClass":"pl-s1"},{"start":36,"end":39,"cssClass":"pl-k"},{"start":40,"end":46,"cssClass":"pl-smi"},{"start":47,"end":56,"cssClass":"pl-k"},{"start":60,"end":64,"cssClass":"pl-smi"}],[{"start":1,"end":2,"cssClass":"pl-s1"},{"start":3,"end":5,"cssClass":"pl-c1"},{"start":6,"end":12,"cssClass":"pl-smi"}],[{"start":2,"end":5,"cssClass":"pl-c1"},{"start":8,"end":14,"cssClass":"pl-s1"},{"start":15,"end":18,"cssClass":"pl-c1"}],[{"start":2,"end":6,"cssClass":"pl-c1"},{"start":8,"end":14,"cssClass":"pl-s1"},{"start":15,"end":19,"cssClass":"pl-c1"}],[],[],[{"start":1,"end":4,"cssClass":"pl-k"},{"start":5,"end":6,"cssClass":"pl-s1"},{"start":8,"end":11,"cssClass":"pl-s1"},{"start":12,"end":14,"cssClass":"pl-c1"},{"start":15,"end":20,"cssClass":"pl-k"},{"start":21,"end":27,"cssClass":"pl-s1"},{"start":28,"end":35,"cssClass":"pl-c1"}],[{"start":2,"end":4,"cssClass":"pl-s1"},{"start":5,"end":7,"cssClass":"pl-c1"},{"start":8,"end":19,"cssClass":"pl-smi"}],[{"start":3,"end":7,"cssClass":"pl-c1"},{"start":9,"end":12,"cssClass":"pl-s1"},{"start":13,"end":17,"cssClass":"pl-c1"}],[],[],[{"start":2,"end":8,"cssClass":"pl-k"},{"start":9,"end":12,"cssClass":"pl-s1"},{"start":13,"end":18,"cssClass":"pl-c1"},{"start":20,"end":24,"cssClass":"pl-k"}],[{"start":2,"end":6,"cssClass":"pl-k"},{"start":7,"end":13,"cssClass":"pl-smi"}],[{"start":3,"end":6,"cssClass":"pl-k"},{"start":7,"end":12,"cssClass":"pl-s1"},{"start":19,"end":25,"cssClass":"pl-smi"}],[],[{"start":3,"end":7,"cssClass":"pl-s1"},{"start":9,"end":12,"cssClass":"pl-s1"},{"start":13,"end":15,"cssClass":"pl-c1"},{"start":16,"end":24,"cssClass":"pl-s1"},{"start":25,"end":28,"cssClass":"pl-en"},{"start":29,"end":35,"cssClass":"pl-s1"},{"start":36,"end":39,"cssClass":"pl-c1"},{"start":40,"end":41,"cssClass":"pl-c1"},{"start":42,"end":45,"cssClass":"pl-s"},{"start":46,"end":47,"cssClass":"pl-c1"},{"start":48,"end":54,"cssClass":"pl-s1"},{"start":55,"end":59,"cssClass":"pl-c1"},{"start":60,"end":61,"cssClass":"pl-c1"},{"start":62,"end":65,"cssClass":"pl-s"},{"start":66,"end":67,"cssClass":"pl-c1"},{"start":68,"end":71,"cssClass":"pl-s1"},{"start":72,"end":76,"cssClass":"pl-c1"},{"start":78,"end":83,"cssClass":"pl-en"},{"start":84,"end":98,"cssClass":"pl-s1"},{"start":99,"end":106,"cssClass":"pl-c1"},{"start":108,"end":113,"cssClass":"pl-en"},{"start":114,"end":117,"cssClass":"pl-s1"},{"start":118,"end":123,"cssClass":"pl-c1"},{"start":125,"end":131,"cssClass":"pl-smi"}],[{"start":3,"end":5,"cssClass":"pl-k"},{"start":6,"end":9,"cssClass":"pl-s1"},{"start":10,"end":12,"cssClass":"pl-c1"},{"start":13,"end":16,"cssClass":"pl-c1"}],[{"start":4,"end":7,"cssClass":"pl-s1"},{"start":8,"end":9,"cssClass":"pl-c1"},{"start":10,"end":14,"cssClass":"pl-s1"},{"start":15,"end":22,"cssClass":"pl-en"},{"start":23,"end":24,"cssClass":"pl-c1"},{"start":24,"end":29,"cssClass":"pl-s1"},{"start":31,"end":35,"cssClass":"pl-s1"}],[],[{"start":3,"end":5,"cssClass":"pl-k"},{"start":6,"end":9,"cssClass":"pl-s1"},{"start":10,"end":12,"cssClass":"pl-c1"},{"start":13,"end":16,"cssClass":"pl-c1"}],[{"start":4,"end":9,"cssClass":"pl-en"},{"start":10,"end":13,"cssClass":"pl-s1"}],[],[],[{"start":3,"end":5,"cssClass":"pl-s1"},{"start":6,"end":10,"cssClass":"pl-c1"},{"start":11,"end":12,"cssClass":"pl-c1"},{"start":13,"end":21,"cssClass":"pl-s"}],[{"start":3,"end":5,"cssClass":"pl-s1"},{"start":6,"end":11,"cssClass":"pl-c1"},{"start":12,"end":13,"cssClass":"pl-c1"},{"start":14,"end":19,"cssClass":"pl-s1"},{"start":20,"end":26,"cssClass":"pl-en"}],[],[{"start":2,"end":9,"cssClass":"pl-k"}],[{"start":3,"end":5,"cssClass":"pl-s1"},{"start":6,"end":10,"cssClass":"pl-c1"},{"start":11,"end":12,"cssClass":"pl-c1"},{"start":13,"end":16,"cssClass":"pl-s1"},{"start":17,"end":21,"cssClass":"pl-c1"}],[{"start":3,"end":5,"cssClass":"pl-s1"},{"start":6,"end":11,"cssClass":"pl-c1"},{"start":12,"end":13,"cssClass":"pl-c1"},{"start":14,"end":17,"cssClass":"pl-s1"},{"start":18,"end":23,"cssClass":"pl-c1"}],[],[{"start":2,"end":3,"cssClass":"pl-s1"},{"start":4,"end":11,"cssClass":"pl-c1"},{"start":12,"end":13,"cssClass":"pl-c1"},{"start":14,"end":20,"cssClass":"pl-en"},{"start":21,"end":22,"cssClass":"pl-s1"},{"start":23,"end":30,"cssClass":"pl-c1"},{"start":32,"end":34,"cssClass":"pl-s1"}],[],[],[{"start":1,"end":4,"cssClass":"pl-s1"},{"start":5,"end":7,"cssClass":"pl-c1"},{"start":8,"end":14,"cssClass":"pl-en"},{"start":15,"end":16,"cssClass":"pl-s1"},{"start":17,"end":20,"cssClass":"pl-c1"}],[{"start":1,"end":3,"cssClass":"pl-k"},{"start":5,"end":6,"cssClass":"pl-c1"},{"start":6,"end":9,"cssClass":"pl-s1"},{"start":11,"end":20,"cssClass":"pl-en"}],[{"start":3,"end":4,"cssClass":"pl-c1"},{"start":4,"end":7,"cssClass":"pl-s1"},{"start":9,"end":18,"cssClass":"pl-en"}],[],[{"start":2,"end":5,"cssClass":"pl-s1"},{"start":6,"end":13,"cssClass":"pl-en"},{"start":14,"end":35,"cssClass":"pl-s"},{"start":15,"end":17,"cssClass":"pl-cce"},{"start":37,"end":38,"cssClass":"pl-s1"},{"start":39,"end":42,"cssClass":"pl-c1"},{"start":44,"end":47,"cssClass":"pl-s"},{"start":49,"end":50,"cssClass":"pl-s1"},{"start":51,"end":55,"cssClass":"pl-c1"},{"start":57,"end":60,"cssClass":"pl-s"},{"start":62,"end":81,"cssClass":"pl-en"},{"start":82,"end":83,"cssClass":"pl-c1"},{"start":83,"end":84,"cssClass":"pl-s1"},{"start":86,"end":97,"cssClass":"pl-c1"}],[{"start":2,"end":5,"cssClass":"pl-k"},{"start":6,"end":7,"cssClass":"pl-s1"},{"start":9,"end":10,"cssClass":"pl-s1"},{"start":11,"end":13,"cssClass":"pl-c1"},{"start":14,"end":19,"cssClass":"pl-k"},{"start":20,"end":21,"cssClass":"pl-s1"},{"start":22,"end":29,"cssClass":"pl-c1"}],[{"start":3,"end":6,"cssClass":"pl-s1"},{"start":7,"end":14,"cssClass":"pl-en"},{"start":15,"end":29,"cssClass":"pl-s"},{"start":16,"end":18,"cssClass":"pl-cce"},{"start":18,"end":20,"cssClass":"pl-cce"},{"start":31,"end":32,"cssClass":"pl-s1"}],[],[],[{"start":3,"end":4,"cssClass":"pl-c1"},{"start":4,"end":7,"cssClass":"pl-s1"},{"start":9,"end":15,"cssClass":"pl-en"},{"start":16,"end":17,"cssClass":"pl-s1"}],[{"start":3,"end":7,"cssClass":"pl-k"}],[{"start":2,"end":5,"cssClass":"pl-s1"},{"start":6,"end":13,"cssClass":"pl-en"},{"start":14,"end":54,"cssClass":"pl-s"},{"start":15,"end":17,"cssClass":"pl-cce"},{"start":56,"end":57,"cssClass":"pl-s1"},{"start":58,"end":61,"cssClass":"pl-c1"},{"start":63,"end":66,"cssClass":"pl-s"},{"start":68,"end":69,"cssClass":"pl-s1"},{"start":70,"end":74,"cssClass":"pl-c1"},{"start":76,"end":79,"cssClass":"pl-s"},{"start":81,"end":100,"cssClass":"pl-en"},{"start":101,"end":102,"cssClass":"pl-c1"},{"start":102,"end":103,"cssClass":"pl-s1"},{"start":105,"end":116,"cssClass":"pl-c1"}],[{"start":2,"end":5,"cssClass":"pl-k"},{"start":6,"end":7,"cssClass":"pl-s1"},{"start":9,"end":10,"cssClass":"pl-s1"},{"start":11,"end":13,"cssClass":"pl-c1"},{"start":14,"end":19,"cssClass":"pl-k"},{"start":20,"end":21,"cssClass":"pl-s1"},{"start":22,"end":29,"cssClass":"pl-c1"}],[{"start":3,"end":6,"cssClass":"pl-s1"},{"start":7,"end":14,"cssClass":"pl-en"},{"start":15,"end":29,"cssClass":"pl-s"},{"start":16,"end":18,"cssClass":"pl-cce"},{"start":18,"end":20,"cssClass":"pl-cce"},{"start":31,"end":32,"cssClass":"pl-s1"}],[],[],[],[{"start":1,"end":7,"cssClass":"pl-k"},{"start":8,"end":12,"cssClass":"pl-c1"}],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/muesli/beehive/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"actions.go","displayUrl":"https://github.com/muesli/beehive/blob/master/bees/actions.go?raw=true","headerInfo":{"blobSize":"2.67 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"6ffac45","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fmuesli%2Fbeehive%2Fblob%2Fmaster%2Fbees%2Factions.go","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"118","truncatedSloc":"98"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Go","languageID":132,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/muesli/beehive/blob/master/bees/actions.go","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/muesli/beehive/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/muesli/beehive/raw/master/bees/actions.go","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"Action","kind":"class","ident_start":1049,"ident_end":1055,"extent_start":1044,"extent_end":1136,"fully_qualified_name":"Action","ident_utf16":{"start":{"line_number":33,"utf16_col":5},"end":{"line_number":33,"utf16_col":11}},"extent_utf16":{"start":{"line_number":33,"utf16_col":0},"end":{"line_number":38,"utf16_col":1}}},{"name":"ID","kind":"field","ident_start":1066,"ident_end":1068,"extent_start":1066,"extent_end":1080,"fully_qualified_name":"Action.ID","ident_utf16":{"start":{"line_number":34,"utf16_col":1},"end":{"line_number":34,"utf16_col":3}},"extent_utf16":{"start":{"line_number":34,"utf16_col":1},"end":{"line_number":34,"utf16_col":15}}},{"name":"Bee","kind":"field","ident_start":1082,"ident_end":1085,"extent_start":1082,"extent_end":1096,"fully_qualified_name":"Action.Bee","ident_utf16":{"start":{"line_number":35,"utf16_col":1},"end":{"line_number":35,"utf16_col":4}},"extent_utf16":{"start":{"line_number":35,"utf16_col":1},"end":{"line_number":35,"utf16_col":15}}},{"name":"Name","kind":"field","ident_start":1098,"ident_end":1102,"extent_start":1098,"extent_end":1112,"fully_qualified_name":"Action.Name","ident_utf16":{"start":{"line_number":36,"utf16_col":1},"end":{"line_number":36,"utf16_col":5}},"extent_utf16":{"start":{"line_number":36,"utf16_col":1},"end":{"line_number":36,"utf16_col":15}}},{"name":"Options","kind":"field","ident_start":1114,"ident_end":1121,"extent_start":1114,"extent_end":1134,"fully_qualified_name":"Action.Options","ident_utf16":{"start":{"line_number":37,"utf16_col":1},"end":{"line_number":37,"utf16_col":8}},"extent_utf16":{"start":{"line_number":37,"utf16_col":1},"end":{"line_number":37,"utf16_col":21}}},{"name":"GetActions","kind":"function","ident_start":1216,"ident_end":1226,"extent_start":1211,"extent_end":1257,"fully_qualified_name":"GetActions","ident_utf16":{"start":{"line_number":45,"utf16_col":5},"end":{"line_number":45,"utf16_col":15}},"extent_utf16":{"start":{"line_number":45,"utf16_col":0},"end":{"line_number":47,"utf16_col":1}}},{"name":"GetAction","kind":"function","ident_start":1316,"ident_end":1325,"extent_start":1311,"extent_end":1428,"fully_qualified_name":"GetAction","ident_utf16":{"start":{"line_number":50,"utf16_col":5},"end":{"line_number":50,"utf16_col":14}},"extent_utf16":{"start":{"line_number":50,"utf16_col":0},"end":{"line_number":58,"utf16_col":1}}},{"name":"SetActions","kind":"function","ident_start":1488,"ident_end":1498,"extent_start":1483,"extent_end":1529,"fully_qualified_name":"SetActions","ident_utf16":{"start":{"line_number":61,"utf16_col":5},"end":{"line_number":61,"utf16_col":15}},"extent_utf16":{"start":{"line_number":61,"utf16_col":0},"end":{"line_number":63,"utf16_col":1}}},{"name":"execAction","kind":"function","ident_start":1593,"ident_end":1603,"extent_start":1588,"extent_end":2729,"fully_qualified_name":"execAction","ident_utf16":{"start":{"line_number":66,"utf16_col":5},"end":{"line_number":66,"utf16_col":15}},"extent_utf16":{"start":{"line_number":66,"utf16_col":0},"end":{"line_number":117,"utf16_col":1}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/muesli/beehive/branches":{"post":"DY4cj3D_grjErJEsxHkSI3rNty2usng6Nho7pBq3ZbLhe8fKogAFv1dCUPVKyuGYl34qtmM1n3BLIbZXBqJ6MA"},"/repos/preferences":{"post":"NRgj5qUkhFvjfxK89bqGHlyPxZV_GrFHVOzj-W7iYP8XeCwjIivf-k9pX7b4GHFdIA02TvFuaveg9R5-zzGIiA"}}},"title":"beehive/bees/actions.go at master ยท muesli/beehive"}