SYMBOL INDEX (209 symbols across 74 files) FILE: beetle.go function main (line 18) | func main() { FILE: beetle_test.go function TestMain (line 25) | func TestMain(t *testing.T) { FILE: core/cmd/apps.go function init (line 99) | func init() { FILE: core/cmd/deploy.go function init (line 116) | func init() { FILE: core/cmd/license.go function init (line 41) | func init() { FILE: core/cmd/root.go function Execute (line 23) | func Execute() { FILE: core/cmd/serve.go function init (line 202) | func init() { FILE: core/cmd/version.go function init (line 55) | func init() { FILE: core/controller/application.go function Application (line 19) | func Application(c *gin.Context) { FILE: core/controller/applications.go function Applications (line 19) | func Applications(c *gin.Context) { FILE: core/controller/cluster.go function Cluster (line 19) | func Cluster(c *gin.Context) { FILE: core/controller/clusters.go function Clusters (line 19) | func Clusters(c *gin.Context) { FILE: core/controller/daemon.go function init (line 52) | func init() { function Daemon (line 60) | func Daemon() { FILE: core/controller/deployment.go function CreateDeployment (line 19) | func CreateDeployment(c *gin.Context, messages chan<- string) { FILE: core/controller/health_check.go function HealthCheck (line 15) | func HealthCheck(c *gin.Context) { FILE: core/controller/health_check_test.go function TestHealthCheck (line 27) | func TestHealthCheck(t *testing.T) { FILE: core/controller/job.go function GetJob (line 18) | func GetJob(c *gin.Context) { function DeleteJob (line 66) | func DeleteJob(c *gin.Context) { FILE: core/controller/jobs.go function Jobs (line 17) | func Jobs(c *gin.Context) { FILE: core/controller/metrics.go function init (line 31) | func init() { function Metrics (line 37) | func Metrics() http.Handler { FILE: core/controller/namespace.go function Namespace (line 19) | func Namespace(c *gin.Context) { FILE: core/controller/namespaces.go function Namespaces (line 19) | func Namespaces(c *gin.Context) { FILE: core/controller/ready_check.go function ReadyCheck (line 17) | func ReadyCheck(c *gin.Context) { FILE: core/controller/ready_check_test.go function TestReadyCheck (line 27) | func TestReadyCheck(t *testing.T) { FILE: core/controller/worker.go function Worker (line 23) | func Worker(workerID int, messages <-chan string) { FILE: core/kubernetes/application.go method GetApplication (line 18) | func (c *Cluster) GetApplication(ctx context.Context, namespace, id, nam... FILE: core/kubernetes/cluster.go type Clusters (line 22) | type Clusters struct type Cluster (line 27) | type Cluster struct method Override (line 68) | func (c *Cluster) Override(objects ...runtime.Object) { method Config (line 74) | func (c *Cluster) Config() error { method Ping (line 118) | func (c *Cluster) Ping(ctx context.Context) (bool, error) { function GetClusters (line 36) | func GetClusters() ([]*Cluster, error) { function GetCluster (line 49) | func GetCluster(name string) (*Cluster, error) { FILE: core/kubernetes/cluster_test.go function TestCluster (line 23) | func TestCluster(t *testing.T) { FILE: core/kubernetes/config.go method GetConfig (line 18) | func (c *Cluster) GetConfig(ctx context.Context, namespace string) (mode... FILE: core/kubernetes/configmap.go method GetConfigMap (line 16) | func (c *Cluster) GetConfigMap(ctx context.Context, namespace, name stri... FILE: core/kubernetes/deployment.go method GetDeployments (line 20) | func (c *Cluster) GetDeployments(ctx context.Context, namespace, label s... method GetDeployment (line 48) | func (c *Cluster) GetDeployment(ctx context.Context, namespace, name str... method PatchDeployment (line 70) | func (c *Cluster) PatchDeployment(ctx context.Context, namespace, name, ... method FetchDeploymentStatus (line 93) | func (c *Cluster) FetchDeploymentStatus(ctx context.Context, namespace, ... FILE: core/kubernetes/deployment_strategy.go method Deploy (line 18) | func (c *Cluster) Deploy(deploymentRequest model.DeploymentRequest) (boo... method RecreateStrategy (line 49) | func (c *Cluster) RecreateStrategy(deploymentRequest model.DeploymentReq... method RampedStrategy (line 143) | func (c *Cluster) RampedStrategy(deploymentRequest model.DeploymentReque... method BlueGreenStrategy (line 257) | func (c *Cluster) BlueGreenStrategy(_ model.DeploymentRequest) (bool, er... method CanaryStrategy (line 262) | func (c *Cluster) CanaryStrategy(_ model.DeploymentRequest) (bool, error) { FILE: core/kubernetes/namespace.go method GetNamespaces (line 17) | func (c *Cluster) GetNamespaces(ctx context.Context) ([]model.Namespace,... method GetNamespace (line 44) | func (c *Cluster) GetNamespace(ctx context.Context, name string) (model.... FILE: core/kubernetes/namespace_test.go function TestNamespace (line 26) | func TestNamespace(t *testing.T) { FILE: core/middleware/auth.go function Auth (line 17) | func Auth() gin.HandlerFunc { FILE: core/middleware/correlation.go function Correlation (line 16) | func Correlation() gin.HandlerFunc { FILE: core/middleware/log.go function Logger (line 16) | func Logger() gin.HandlerFunc { FILE: core/middleware/metric.go function init (line 42) | func init() { function Metric (line 49) | func Metric() gin.HandlerFunc { FILE: core/migration/schema.go type Job (line 15) | type Job struct method LoadFromJSON (line 29) | func (j *Job) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 38) | func (j *Job) ConvertToJSON() (string, error) { FILE: core/model/application.go type Container (line 12) | type Container struct type Application (line 20) | type Application struct method LoadFromJSON (line 39) | func (c *Application) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 48) | func (c *Application) ConvertToJSON() (string, error) { type Applications (line 28) | type Applications struct method LoadFromJSON (line 57) | func (c *Applications) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 66) | func (c *Applications) ConvertToJSON() (string, error) { type Deployment (line 33) | type Deployment struct method LoadFromJSON (line 75) | func (d *Deployment) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 84) | func (d *Deployment) ConvertToJSON() (string, error) { FILE: core/model/cluster.go type Cluster (line 12) | type Cluster struct method LoadFromJSON (line 23) | func (c *Cluster) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 32) | func (c *Cluster) ConvertToJSON() (string, error) { type Clusters (line 18) | type Clusters struct method LoadFromJSON (line 41) | func (c *Clusters) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 50) | func (c *Clusters) ConvertToJSON() (string, error) { FILE: core/model/configmap.go type ConfigMap (line 12) | type ConfigMap struct method LoadFromJSON (line 22) | func (d *ConfigMap) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 31) | func (d *ConfigMap) ConvertToJSON() (string, error) { FILE: core/model/configs.go type App (line 8) | type App struct type Configs (line 15) | type Configs struct FILE: core/model/dsn.go type DSN (line 13) | type DSN struct method ToString (line 23) | func (d *DSN) ToString() string { method LoadFromJSON (line 40) | func (d *DSN) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 49) | func (d *DSN) ConvertToJSON() (string, error) { FILE: core/model/dsn_test.go function TestDsnToString (line 14) | func TestDsnToString(t *testing.T) { FILE: core/model/job.go type Job (line 33) | type Job struct method LoadFromJSON (line 53) | func (j *Job) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 62) | func (j *Job) ConvertToJSON() (string, error) { type Jobs (line 48) | type Jobs struct method LoadFromJSON (line 71) | func (j *Jobs) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 80) | func (j *Jobs) ConvertToJSON() (string, error) { FILE: core/model/message.go type Message (line 12) | type Message struct method LoadFromJSON (line 18) | func (m *Message) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 27) | func (m *Message) ConvertToJSON() (string, error) { FILE: core/model/metric.go constant COUNTER (line 16) | COUNTER string = "counter" constant GAUGE (line 18) | GAUGE string = "gauge" constant HISTOGRAM (line 20) | HISTOGRAM string = "histogram" constant SUMMARY (line 22) | SUMMARY string = "summary" type Metric (line 26) | type Metric struct method LoadFromJSON (line 37) | func (m *Metric) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 46) | func (m *Metric) ConvertToJSON() (string, error) { method LabelKeys (line 55) | func (m *Metric) LabelKeys() []string { method LabelValues (line 66) | func (m *Metric) LabelValues() []string { method GetValueAsFloat (line 77) | func (m *Metric) GetValueAsFloat() (float64, error) { FILE: core/model/migration.go type Migration (line 13) | type Migration struct method LoadFromJSON (line 20) | func (m *Migration) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 29) | func (m *Migration) ConvertToJSON() (string, error) { FILE: core/model/namespace.go type Namespace (line 12) | type Namespace struct method LoadFromJSON (line 24) | func (d *Namespace) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 33) | func (d *Namespace) ConvertToJSON() (string, error) { type Namespaces (line 19) | type Namespaces struct method LoadFromJSON (line 42) | func (d *Namespaces) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 51) | func (d *Namespaces) ConvertToJSON() (string, error) { FILE: core/model/patch.go type PatchStringValue (line 8) | type PatchStringValue struct type PatchUInt32Value (line 15) | type PatchUInt32Value struct FILE: core/model/request.go type DeploymentRequest (line 25) | type DeploymentRequest struct method LoadFromJSON (line 39) | func (d *DeploymentRequest) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 48) | func (d *DeploymentRequest) ConvertToJSON() (string, error) { method Validate (line 57) | func (d *DeploymentRequest) Validate(strategies []string) error { function In (line 75) | func In(val interface{}, array interface{}) bool { FILE: core/module/database.go type Database (line 22) | type Database struct method Connect (line 27) | func (db *Database) Connect(dsn model.DSN) error { method Ping (line 45) | func (db *Database) Ping() error { method AutoConnect (line 73) | func (db *Database) AutoConnect() error { method Migrate (line 100) | func (db *Database) Migrate() bool { method Rollback (line 108) | func (db *Database) Rollback() bool { method HasTable (line 116) | func (db *Database) HasTable(table string) bool { method CreateJob (line 121) | func (db *Database) CreateJob(job *model.Job) *model.Job { method JobExistByID (line 127) | func (db *Database) JobExistByID(id int) bool { method GetJobByID (line 136) | func (db *Database) GetJobByID(id int) model.Job { method GetJobs (line 145) | func (db *Database) GetJobs() []model.Job { method JobExistByUUID (line 154) | func (db *Database) JobExistByUUID(uuid string) bool { method GetJobByUUID (line 163) | func (db *Database) GetJobByUUID(uuid string) model.Job { method GetPendingJobByType (line 172) | func (db *Database) GetPendingJobByType(jobType string) model.Job { method CountJobs (line 181) | func (db *Database) CountJobs(status string) int { method DeleteJobByID (line 190) | func (db *Database) DeleteJobByID(id int) { method DeleteJobByUUID (line 195) | func (db *Database) DeleteJobByUUID(uuid string) { method UpdateJobByID (line 200) | func (db *Database) UpdateJobByID(job *model.Job) { method Close (line 205) | func (db *Database) Close() error { method ReleaseChildJobs (line 210) | func (db *Database) ReleaseChildJobs(parentID int) { FILE: core/module/database_test.go function TestDatabase (line 25) | func TestDatabase(t *testing.T) { FILE: core/module/file_system.go type FileSystem (line 12) | type FileSystem struct method PathExists (line 15) | func (fs *FileSystem) PathExists(path string) bool { method FileExists (line 23) | func (fs *FileSystem) FileExists(path string) bool { method DirExists (line 33) | func (fs *FileSystem) DirExists(path string) bool { method EnsureDir (line 43) | func (fs *FileSystem) EnsureDir(dirName string, mode int) (bool, error) { FILE: core/module/http.go type HTTPClient (line 19) | type HTTPClient struct method Get (line 31) | func (h *HTTPClient) Get(ctx context.Context, endpoint string, paramet... method Post (line 61) | func (h *HTTPClient) Post(ctx context.Context, endpoint string, data s... method Put (line 91) | func (h *HTTPClient) Put(ctx context.Context, endpoint string, data st... method Patch (line 121) | func (h *HTTPClient) Patch(ctx context.Context, endpoint string, data ... method Delete (line 151) | func (h *HTTPClient) Delete(ctx context.Context, endpoint string, para... method buildParameters (line 181) | func (h *HTTPClient) buildParameters(endpoint string, parameters map[s... method BuildData (line 200) | func (h *HTTPClient) BuildData(parameters map[string]string) string { method ToString (line 211) | func (h *HTTPClient) ToString(response *http.Response) (string, error) { method GetStatusCode (line 224) | func (h *HTTPClient) GetStatusCode(response *http.Response) int { method GetHeaderValue (line 229) | func (h *HTTPClient) GetHeaderValue(response *http.Response, key strin... function NewHTTPClient (line 24) | func NewHTTPClient(timeout int) *HTTPClient { FILE: core/module/http_test.go function TestHttpGet (line 17) | func TestHttpGet(t *testing.T) { function TestHttpDelete (line 42) | func TestHttpDelete(t *testing.T) { function TestHttpPost (line 67) | func TestHttpPost(t *testing.T) { function TestHttpPut (line 97) | func TestHttpPut(t *testing.T) { function TestHttpGetStatusCode1 (line 127) | func TestHttpGetStatusCode1(t *testing.T) { function TestHttpGetStatusCode2 (line 148) | func TestHttpGetStatusCode2(t *testing.T) { function TestHttpGetStatusCode3 (line 169) | func TestHttpGetStatusCode3(t *testing.T) { function TestHttpGetStatusCode4 (line 190) | func TestHttpGetStatusCode4(t *testing.T) { function TestBuildParameters (line 211) | func TestBuildParameters(t *testing.T) { function TestBuildData (line 222) | func TestBuildData(t *testing.T) { FILE: core/module/prometheus.go type Prometheus (line 17) | type Prometheus struct method Send (line 25) | func (p *Prometheus) Send(metrics []model.Metric) error { method Summary (line 54) | func (p *Prometheus) Summary(item model.Metric) error { method Counter (line 97) | func (p *Prometheus) Counter(item model.Metric) error { method Histogram (line 146) | func (p *Prometheus) Histogram(item model.Metric) error { method Gauge (line 191) | func (p *Prometheus) Gauge(item model.Metric) error { function NewPrometheus (line 20) | func NewPrometheus() *Prometheus { FILE: core/module/remote.go constant ReleaseURL (line 15) | ReleaseURL = "https://api.github.com/repos/Clivern/Beetle/releases/latest" type LatestRelease (line 18) | type LatestRelease struct method LoadFromJSON (line 24) | func (lr *LatestRelease) LoadFromJSON(data []byte) (bool, error) { method ConvertToJSON (line 33) | func (lr *LatestRelease) ConvertToJSON() (string, error) { function GetLatestRelease (line 42) | func GetLatestRelease() (LatestRelease, error) { FILE: core/module/remote_test.go function TestRemote (line 15) | func TestRemote(t *testing.T) { FILE: core/util/helpers.go function InArray (line 19) | func InArray(val interface{}, array interface{}) bool { function GenerateUUID4 (line 35) | func GenerateUUID4() string { function ListFiles (line 41) | func ListFiles(basePath string) []string { function ReadFile (line 58) | func ReadFile(path string) string { function FilterFiles (line 67) | func FilterFiles(files, filters []string) []string { function Unset (line 85) | func Unset(a []string, i int) []string { function ConvertToJSON (line 92) | func ConvertToJSON(val interface{}) (string, error) { FILE: core/util/helpers_test.go function TestInArray (line 15) | func TestInArray(t *testing.T) { FILE: pkg/expect.go function Expect (line 13) | func Expect(t *testing.T, got, want interface{}) { FILE: pkg/server_mock.go function ServerMock (line 13) | func ServerMock(uri, response string, statusCode int) *httptest.Server { FILE: sdk/application.go method GetApplications (line 16) | func (c *Client) GetApplications(ctx context.Context, cluster, namespace... method GetApplication (line 56) | func (c *Client) GetApplication(ctx context.Context, cluster, namespace,... FILE: sdk/application_test.go function TestApplicationCRUD (line 26) | func TestApplicationCRUD(t *testing.T) { FILE: sdk/client.go type Client (line 12) | type Client struct method SetHTTPClient (line 19) | func (c *Client) SetHTTPClient(httpClient *module.HTTPClient) { method SetAPIURL (line 24) | func (c *Client) SetAPIURL(APIURL string) { method SetAPIKey (line 29) | func (c *Client) SetAPIKey(APIKey string) { FILE: sdk/cluster.go method GetClusters (line 16) | func (c *Client) GetClusters(ctx context.Context) (model.Clusters, error) { method GetCluster (line 56) | func (c *Client) GetCluster(ctx context.Context, cluster string) (model.... FILE: sdk/cluster_test.go function TestClusterCRUD (line 26) | func TestClusterCRUD(t *testing.T) { FILE: sdk/deployment.go method CreateDeployment (line 16) | func (c *Client) CreateDeployment(ctx context.Context, request model.Dep... FILE: sdk/deployment_test.go function TestDeploymentCRUD (line 26) | func TestDeploymentCRUD(t *testing.T) { FILE: sdk/job.go method GetJobs (line 16) | func (c *Client) GetJobs(ctx context.Context) (model.Jobs, error) { method GetJob (line 56) | func (c *Client) GetJob(ctx context.Context, uuid string) (model.Job, er... method DeleteJob (line 96) | func (c *Client) DeleteJob(ctx context.Context, uuid string) (bool, erro... FILE: sdk/job_test.go function TestJobCRUD (line 25) | func TestJobCRUD(t *testing.T) { FILE: sdk/namespace.go method GetNamespaces (line 16) | func (c *Client) GetNamespaces(ctx context.Context, cluster string) (mod... method GetNamespace (line 56) | func (c *Client) GetNamespace(ctx context.Context, cluster, namespace st... FILE: sdk/namespace_test.go function TestNamespaceCRUD (line 26) | func TestNamespaceCRUD(t *testing.T) {