Skip to content

Commit

Permalink
chore: update package from mlabouardy/komiser to tailwarden/komiser
Browse files Browse the repository at this point in the history
  • Loading branch information
mlabouardy committed Jan 18, 2023
1 parent 0dae009 commit 0c993cb
Show file tree
Hide file tree
Showing 50 changed files with 113 additions and 715 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Komiser Feedback
url: https://github.com/mlabouardy/komiser/discussions
url: https://github.com/tailwarden/komiser/discussions
about: Share your feedback with the Komiser team.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"context"
"log"

. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/providers"
"github.com/uptrace/bun"
)

Expand Down Expand Up @@ -71,8 +71,8 @@ import (
"log"
"time"

. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func MyServiceResources(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ COMMIT := $(shell git rev-parse --short HEAD)

EXECUTABLE=komiser

GO_LD_FLAGS += -X github.com/mlabouardy/komiser/internal.Version=$(VERSION)
GO_LD_FLAGS += -X github.com/mlabouardy/komiser/internal.Buildtime=$(BUILDTIME)
GO_LD_FLAGS += -X github.com/mlabouardy/komiser/internal.Commit=$(COMMIT)
GO_LD_FLAGS += -X github.com/tailwarden/komiser/internal.Version=$(VERSION)
GO_LD_FLAGS += -X github.com/tailwarden/komiser/internal.Buildtime=$(BUILDTIME)
GO_LD_FLAGS += -X github.com/tailwarden/komiser/internal.Commit=$(COMMIT)
GO_FLAGS = -ldflags "$(GO_LD_FLAGS)"

build: ## Build for the current platform
Expand Down
2 changes: 1 addition & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"os"

"github.com/BurntSushi/toml"
"github.com/mlabouardy/komiser/models"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/tailwarden/komiser/models"
)

var configCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cmd
import (
"errors"

"github.com/mlabouardy/komiser/internal"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/tailwarden/komiser/internal"
)

var startCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cmd
import (
"fmt"

"github.com/mlabouardy/komiser/internal"
"github.com/spf13/cobra"
"github.com/tailwarden/komiser/internal"
"golang.org/x/text/cases"
"golang.org/x/text/language"
)
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/mlabouardy/komiser
module github.com/tailwarden/komiser

go 1.17

Expand All @@ -12,13 +12,14 @@ require (
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.17.3
github.com/aws/aws-sdk-go-v2/service/ec2 v1.50.0
github.com/aws/aws-sdk-go-v2/service/ecr v1.17.20
github.com/aws/aws-sdk-go-v2/service/efs v1.19.0
github.com/aws/aws-sdk-go-v2/service/ecs v1.18.26
github.com/aws/aws-sdk-go-v2/service/efs v1.19.0
github.com/aws/aws-sdk-go-v2/service/eks v1.21.4
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.14.24
github.com/aws/aws-sdk-go-v2/service/iam v1.18.9
github.com/aws/aws-sdk-go-v2/service/kms v1.18.18
github.com/aws/aws-sdk-go-v2/service/lambda v1.23.4
github.com/aws/aws-sdk-go-v2/service/pricing v1.17.5
github.com/aws/aws-sdk-go-v2/service/rds v1.30.1
github.com/aws/aws-sdk-go-v2/service/route53 v1.25.2
github.com/aws/aws-sdk-go-v2/service/s3 v1.27.1
Expand Down Expand Up @@ -58,7 +59,6 @@ require (
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.19 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.19 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.8 // indirect
github.com/aws/aws-sdk-go-v2/service/pricing v1.17.5 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.11.12 // indirect
github.com/aws/smithy-go v1.13.5 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
Expand Down
602 changes: 0 additions & 602 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion handlers/resources_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
"strings"

. "github.com/mlabouardy/komiser/models"
. "github.com/tailwarden/komiser/models"
"github.com/uptrace/bun"
"github.com/uptrace/bun/dialect"
)
Expand Down
2 changes: 1 addition & 1 deletion handlers/stats_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"strings"

. "github.com/mlabouardy/komiser/models"
. "github.com/tailwarden/komiser/models"
"github.com/uptrace/bun/dialect"
)

Expand Down
2 changes: 1 addition & 1 deletion handlers/tags_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"

"github.com/gorilla/mux"
. "github.com/mlabouardy/komiser/models"
. "github.com/tailwarden/komiser/models"
)

func (handler *ApiHandler) BulkUpdateTagsHandler(w http.ResponseWriter, r *http.Request) {
Expand Down
2 changes: 1 addition & 1 deletion handlers/views_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"

"github.com/gorilla/mux"
. "github.com/mlabouardy/komiser/models"
. "github.com/tailwarden/komiser/models"
)

func (handler *ApiHandler) NewViewHandler(w http.ResponseWriter, r *http.Request) {
Expand Down
2 changes: 1 addition & 1 deletion internal/api/v1/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"

"github.com/gorilla/mux"
"github.com/mlabouardy/komiser/handlers"
"github.com/tailwarden/komiser/handlers"
"github.com/uptrace/bun"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
awsConfig "github.com/aws/aws-sdk-go-v2/config"
"github.com/civo/civogo"
"github.com/digitalocean/godo"
. "github.com/mlabouardy/komiser/models"
"github.com/mlabouardy/komiser/providers"
"github.com/oracle/oci-go-sdk/common"
. "github.com/tailwarden/komiser/models"
"github.com/tailwarden/komiser/providers"
)

func loadConfigFromFile(path string) (*Config, error) {
Expand Down
16 changes: 8 additions & 8 deletions internal/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ import (
"github.com/uptrace/bun/driver/sqliteshim"

"github.com/gorilla/handlers"
v1 "github.com/mlabouardy/komiser/internal/api/v1"
"github.com/mlabouardy/komiser/internal/config"
"github.com/mlabouardy/komiser/models"
"github.com/mlabouardy/komiser/providers"
"github.com/mlabouardy/komiser/providers/aws"
civo "github.com/mlabouardy/komiser/providers/civo"
do "github.com/mlabouardy/komiser/providers/digitalocean"
oci "github.com/mlabouardy/komiser/providers/oci"
"github.com/rs/cors"
"github.com/spf13/cobra"
v1 "github.com/tailwarden/komiser/internal/api/v1"
"github.com/tailwarden/komiser/internal/config"
"github.com/tailwarden/komiser/models"
"github.com/tailwarden/komiser/providers"
"github.com/tailwarden/komiser/providers/aws"
civo "github.com/tailwarden/komiser/providers/civo"
do "github.com/tailwarden/komiser/providers/digitalocean"
oci "github.com/tailwarden/komiser/providers/oci"
"github.com/uptrace/bun"
)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/mlabouardy/komiser/cmd"
"github.com/tailwarden/komiser/cmd"
)

func main() {
Expand Down
32 changes: 16 additions & 16 deletions providers/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ import (

log "github.com/sirupsen/logrus"

"github.com/mlabouardy/komiser/providers"
"github.com/mlabouardy/komiser/providers/aws/cloudfront"
"github.com/mlabouardy/komiser/providers/aws/dynamodb"
"github.com/mlabouardy/komiser/providers/aws/ec2"
"github.com/mlabouardy/komiser/providers/aws/ecr"
"github.com/mlabouardy/komiser/providers/aws/ecs"
"github.com/mlabouardy/komiser/providers/aws/efs"
"github.com/mlabouardy/komiser/providers/aws/eks"
"github.com/mlabouardy/komiser/providers/aws/elb"
"github.com/mlabouardy/komiser/providers/aws/iam"
"github.com/mlabouardy/komiser/providers/aws/kms"
"github.com/mlabouardy/komiser/providers/aws/lambda"
"github.com/mlabouardy/komiser/providers/aws/rds"
"github.com/mlabouardy/komiser/providers/aws/s3"
"github.com/mlabouardy/komiser/providers/aws/sns"
"github.com/mlabouardy/komiser/providers/aws/sqs"
"github.com/tailwarden/komiser/providers"
"github.com/tailwarden/komiser/providers/aws/cloudfront"
"github.com/tailwarden/komiser/providers/aws/dynamodb"
"github.com/tailwarden/komiser/providers/aws/ec2"
"github.com/tailwarden/komiser/providers/aws/ecr"
"github.com/tailwarden/komiser/providers/aws/ecs"
"github.com/tailwarden/komiser/providers/aws/efs"
"github.com/tailwarden/komiser/providers/aws/eks"
"github.com/tailwarden/komiser/providers/aws/elb"
"github.com/tailwarden/komiser/providers/aws/iam"
"github.com/tailwarden/komiser/providers/aws/kms"
"github.com/tailwarden/komiser/providers/aws/lambda"
"github.com/tailwarden/komiser/providers/aws/rds"
"github.com/tailwarden/komiser/providers/aws/s3"
"github.com/tailwarden/komiser/providers/aws/sns"
"github.com/tailwarden/komiser/providers/aws/sqs"
"github.com/uptrace/bun"
)

Expand Down
4 changes: 2 additions & 2 deletions providers/aws/cloudfront/distributions.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/cloudfront"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Distributions(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/dynamodb/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/aws/aws-sdk-go-v2/service/dynamodb"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Tables(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ec2/acls.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ec2"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Acls(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ec2/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"github.com/aws/aws-sdk-go-v2/service/pricing"
"github.com/aws/aws-sdk-go-v2/service/pricing/types"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

type Ec2Product struct {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ec2/security_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ec2"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func SecurityGroups(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ec2/subnets.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ec2"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Subnets(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ec2/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ec2"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Volumes(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ec2/vpcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ec2"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Vpcs(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ecr/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ecr"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Repositories(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ecs/clusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ecs"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Clusters(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ecs/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ecs"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Services(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/ecs/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ecs"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func Tasks(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/efs/efs.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/efs"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func ElasticFileStorage(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/eks/clusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/eks"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func KubernetesClusters(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/elb/loadbalancers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing"
"github.com/aws/aws-sdk-go-v2/service/sts"
. "github.com/mlabouardy/komiser/models"
. "github.com/mlabouardy/komiser/providers"
. "github.com/tailwarden/komiser/models"
. "github.com/tailwarden/komiser/providers"
)

func LoadBalancers(ctx context.Context, client ProviderClient) ([]Resource, error) {
Expand Down
Loading

0 comments on commit 0c993cb

Please sign in to comment.