mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-19 19:17:02 -07:00
updated all references
This commit is contained in:
parent
8de7c40b7c
commit
fb3a936224
25 changed files with 70 additions and 117 deletions
|
|
@ -14,15 +14,15 @@ builds:
|
||||||
# export GO_VERSION=$(go version | awk '{print $3}')
|
# export GO_VERSION=$(go version | awk '{print $3}')
|
||||||
# export BUILD_USER=$(whoami)
|
# export BUILD_USER=$(whoami)
|
||||||
ldflags:
|
ldflags:
|
||||||
- "-X github.com/OpenCHAMI/magellan/internal/version.GitCommit={{ .Commit }} \
|
- "-X github.com/davidallendj/magellan/internal/version.GitCommit={{ .Commit }} \
|
||||||
-X github.com/OpenCHAMI/magellan/internal/version.BuildTime={{ .Timestamp }} \
|
-X github.com/davidallendj/magellan/internal/version.BuildTime={{ .Timestamp }} \
|
||||||
-X github.com/OpenCHAMI/magellan/internal/version.Version={{ .Version }} \
|
-X github.com/davidallendj/magellan/internal/version.Version={{ .Version }} \
|
||||||
-X github.com/OpenCHAMI/magellan/internal/version.GitBranch={{ .Branch }} \
|
-X github.com/davidallendj/magellan/internal/version.GitBranch={{ .Branch }} \
|
||||||
-X github.com/OpenCHAMI/magellan/internal/version.GitTag={{ .Tag }} \
|
-X github.com/davidallendj/magellan/internal/version.GitTag={{ .Tag }} \
|
||||||
-X github.com/OpenCHAMI/magellan/internal/version.GitState={{ .Env.GIT_STATE }} \
|
-X github.com/davidallendj/magellan/internal/version.GitState={{ .Env.GIT_STATE }} \
|
||||||
-X github.com/OpenCHAMI/magellan/internal/version.BuildHost={{ .Env.BUILD_HOST }} \
|
-X github.com/davidallendj/magellan/internal/version.BuildHost={{ .Env.BUILD_HOST }} \
|
||||||
-X github.com/OpenCHAMI/magellan/internal/version.GoVersion={{ .Env.GO_VERSION }} \
|
-X github.com/davidallendj/magellan/internal/version.GoVersion={{ .Env.GO_VERSION }} \
|
||||||
-X github.com/OpenCHAMI/magellan/internal/version.BuildUser={{ .Env.BUILD_USER }} "
|
-X github.com/davidallendj/magellan/internal/version.BuildUser={{ .Env.BUILD_USER }} "
|
||||||
tags:
|
tags:
|
||||||
- version
|
- version
|
||||||
goos:
|
goos:
|
||||||
|
|
|
||||||
|
|
@ -400,7 +400,7 @@ Tidied up CLI flag names
|
||||||
|
|
||||||
* Ability to update firmware
|
* Ability to update firmware
|
||||||
* Refactored connection handling for faster scanning
|
* Refactored connection handling for faster scanning
|
||||||
* Updated to reflect home at github.com/OpenCHAMI
|
* Updated to reflect home at github.com/davidallendj
|
||||||
* Updated to reflect ghcr.io as container home
|
* Updated to reflect ghcr.io as container home
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
|
||||||
6
Makefile
6
Makefile
|
|
@ -100,9 +100,9 @@ diff: ## git diff
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs: ## go docs
|
docs: ## go docs
|
||||||
$(call print-target)
|
$(call print-target)
|
||||||
go doc github.com/OpenCHAMI/magellan/cmd
|
go doc github.com/davidallendj/magellan/cmd
|
||||||
go doc github.com/OpenCHAMI/magellan/internal
|
go doc github.com/davidallendj/magellan/internal
|
||||||
go doc github.com/OpenCHAMI/magellan/pkg/crawler
|
go doc github.com/davidallendj/magellan/pkg/crawler
|
||||||
|
|
||||||
.PHONY: emulator
|
.PHONY: emulator
|
||||||
emulator:
|
emulator:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Magellan
|
# Magellan
|
||||||
|
|
||||||
The `magellan` CLI tool is a Redfish-based, board management controller (BMC) discovery tool designed to scan networks and is written in Go. The tool collects information from BMC nodes using the provided Redfish RESTful API with [`gofish`](https://github.com/stmcginnis/gofish) and loads the queried data into an [SMD](https://github.com/OpenCHAMI/smd/) instance. The tool strives to be more flexible by implementing multiple methods of discovery to work for a wider range of systems (WIP) and is capable of being used independently of other tools or services.
|
The `magellan` CLI tool is a Redfish-based, board management controller (BMC) discovery tool designed to scan networks and is written in Go. The tool collects information from BMC nodes using the provided Redfish RESTful API with [`gofish`](https://github.com/stmcginnis/gofish) and loads the queried data into an [SMD](https://github.com/davidallendj/smd/tree/master) instance. The tool strives to be more flexible by implementing multiple methods of discovery to work for a wider range of systems (WIP) and is capable of using independently of other tools or services.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> The v0.1.0 version of `magellan` is incompatible with `smd` v2.15.3 and earlier due to `smd` lacking the inventory parsing code used with `magellan`'s output.**
|
> The v0.1.0 version of `magellan` is incompatible with `smd` v2.15.3 and earlier due to `smd` lacking the inventory parsing code used with `magellan`'s output.**
|
||||||
|
|
@ -383,7 +383,7 @@ The `magellan` tool has a `login` subcommand that works with the [`opaal`](https
|
||||||
export ACCESS_TOKEN=eyJhbGciOiJIUzI1NiIs...
|
export ACCESS_TOKEN=eyJhbGciOiJIUzI1NiIs...
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, if you are running the OpenCHAMI quickstart in the [deployment recipes](https://github.com/OpenCHAMI/deployment-recipes), you can run the provided script to generate a token and set the environment variable that way.
|
Alternatively, if you are running the OpenCHAMI quickstart in the [deployment recipes](https://github.com/davidallendj/deployment-recipes), you can run the provided script to generate a token and set the environment variable that way.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
quickstart_dir=path/to/deployment/recipes/quickstart
|
quickstart_dir=path/to/deployment/recipes/quickstart
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,13 @@ package cmd
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/internal/cache/sqlite"
|
|
||||||
urlx "github.com/OpenCHAMI/magellan/internal/url"
|
|
||||||
magellan "github.com/OpenCHAMI/magellan/pkg"
|
|
||||||
"github.com/OpenCHAMI/magellan/pkg/auth"
|
|
||||||
"github.com/OpenCHAMI/magellan/pkg/bmc"
|
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
|
||||||
"github.com/cznic/mathutil"
|
"github.com/cznic/mathutil"
|
||||||
|
"github.com/davidallendj/magellan/internal/cache/sqlite"
|
||||||
|
urlx "github.com/davidallendj/magellan/internal/url"
|
||||||
|
magellan "github.com/davidallendj/magellan/pkg"
|
||||||
|
"github.com/davidallendj/magellan/pkg/auth"
|
||||||
|
"github.com/davidallendj/magellan/pkg/bmc"
|
||||||
|
"github.com/davidallendj/magellan/pkg/secrets"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,10 @@ import (
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
|
|
||||||
urlx "github.com/OpenCHAMI/magellan/internal/url"
|
urlx "github.com/davidallendj/magellan/internal/url"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/bmc"
|
"github.com/davidallendj/magellan/pkg/bmc"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/crawler"
|
"github.com/davidallendj/magellan/pkg/crawler"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
"github.com/davidallendj/magellan/pkg/secrets"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/internal/cache/sqlite"
|
"github.com/davidallendj/magellan/internal/cache/sqlite"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
magellan "github.com/OpenCHAMI/magellan/internal"
|
magellan "github.com/davidallendj/magellan/internal"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/auth"
|
"github.com/davidallendj/magellan/pkg/auth"
|
||||||
"github.com/lestrrat-go/jwx/jwt"
|
"github.com/lestrrat-go/jwx/jwt"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,8 @@ import (
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
magellan "github.com/OpenCHAMI/magellan/internal"
|
magellan "github.com/davidallendj/magellan/internal"
|
||||||
"github.com/OpenCHAMI/magellan/internal/util"
|
"github.com/davidallendj/magellan/internal/util"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,13 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/internal/cache/sqlite"
|
"github.com/davidallendj/magellan/internal/cache/sqlite"
|
||||||
magellan "github.com/OpenCHAMI/magellan/pkg"
|
magellan "github.com/davidallendj/magellan/pkg"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
|
|
||||||
urlx "github.com/OpenCHAMI/magellan/internal/url"
|
|
||||||
"github.com/cznic/mathutil"
|
"github.com/cznic/mathutil"
|
||||||
|
urlx "github.com/davidallendj/magellan/internal/url"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
magellan "github.com/OpenCHAMI/magellan/pkg"
|
magellan "github.com/davidallendj/magellan/pkg"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/bmc"
|
"github.com/davidallendj/magellan/pkg/bmc"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
"github.com/davidallendj/magellan/pkg/secrets"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/OpenCHAMI/magellan/internal/version"
|
"github.com/davidallendj/magellan/internal/version"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
4
internal/cache/sqlite/sqlite.go
vendored
4
internal/cache/sqlite/sqlite.go
vendored
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/internal/util"
|
"github.com/davidallendj/magellan/internal/util"
|
||||||
magellan "github.com/OpenCHAMI/magellan/pkg"
|
magellan "github.com/davidallendj/magellan/pkg"
|
||||||
|
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package magellan
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/internal/util"
|
"github.com/davidallendj/magellan/internal/util"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,47 +0,0 @@
|
||||||
package util
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/OpenCHAMI/magellan/pkg/bmc"
|
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
|
||||||
"github.com/rs/zerolog/log"
|
|
||||||
)
|
|
||||||
|
|
||||||
func GetBMCCredentials(store secrets.SecretStore, id string) bmc.BMCCredentials {
|
|
||||||
var (
|
|
||||||
creds bmc.BMCCredentials
|
|
||||||
err error
|
|
||||||
)
|
|
||||||
|
|
||||||
if id == "" {
|
|
||||||
log.Error().Msg("failed to get BMC credentials: id was empty")
|
|
||||||
return creds
|
|
||||||
}
|
|
||||||
|
|
||||||
if id == secrets.DEFAULT_KEY {
|
|
||||||
log.Info().Msg("fetching default credentials")
|
|
||||||
if creds, err = bmc.GetBMCCredentialsDefault(store); err != nil {
|
|
||||||
log.Warn().Err(err).Msg("failed to get default credentials")
|
|
||||||
} else {
|
|
||||||
log.Info().Msg("default credentials found, using")
|
|
||||||
}
|
|
||||||
return creds
|
|
||||||
}
|
|
||||||
|
|
||||||
if creds, err = bmc.GetBMCCredentials(store, id); err != nil {
|
|
||||||
// Specific credentials for URI not found, fetch default.
|
|
||||||
log.Warn().Str("id", id).Msg("specific credentials not found, falling back to default")
|
|
||||||
if defaultSecret, err := bmc.GetBMCCredentialsDefault(store); err != nil {
|
|
||||||
// We've exhausted all options, the credentials will be blank unless
|
|
||||||
// overridden by a CLI flag.
|
|
||||||
log.Warn().Str("id", id).Err(err).Msg("no default credentials were set, they will be blank unless overridden by CLI flags")
|
|
||||||
} else {
|
|
||||||
// Default credentials found, use them.
|
|
||||||
log.Info().Str("id", id).Msg("default credentials found, using")
|
|
||||||
creds = defaultSecret
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
log.Info().Str("id", id).Msg("specific credentials found, using")
|
|
||||||
}
|
|
||||||
|
|
||||||
return creds
|
|
||||||
}
|
|
||||||
|
|
@ -5,40 +5,40 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// GitCommit stores the latest Git commit hash.
|
// GitCommit stores the latest Git commit hash.
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.GitCommit=$(git rev-parse HEAD)"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.GitCommit=$(git rev-parse HEAD)"
|
||||||
var GitCommit string
|
var GitCommit string
|
||||||
|
|
||||||
// BuildTime stores the build timestamp in UTC.
|
// BuildTime stores the build timestamp in UTC.
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.BuildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.BuildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
||||||
var BuildTime string
|
var BuildTime string
|
||||||
|
|
||||||
// Version indicates the version of the binary, such as a release number or semantic version.
|
// Version indicates the version of the binary, such as a release number or semantic version.
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.Version=v1.0.0"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.Version=v1.0.0"
|
||||||
var Version string
|
var Version string
|
||||||
|
|
||||||
// GitBranch holds the name of the Git branch from which the build was created.
|
// GitBranch holds the name of the Git branch from which the build was created.
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.GitBranch=$(git rev-parse --abbrev-ref HEAD)"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.GitBranch=$(git rev-parse --abbrev-ref HEAD)"
|
||||||
var GitBranch string
|
var GitBranch string
|
||||||
|
|
||||||
// GitTag represents the most recent Git tag at build time, if any.
|
// GitTag represents the most recent Git tag at build time, if any.
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.GitTag=$(git describe --tags --abbrev=0)"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.GitTag=$(git describe --tags --abbrev=0)"
|
||||||
var GitTag string
|
var GitTag string
|
||||||
|
|
||||||
// GitState indicates whether the working directory was "clean" or "dirty" (i.e., with uncommitted changes).
|
// GitState indicates whether the working directory was "clean" or "dirty" (i.e., with uncommitted changes).
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.GitState=$(if git diff-index --quiet HEAD --; then echo 'clean'; else echo 'dirty'; fi)"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.GitState=$(if git diff-index --quiet HEAD --; then echo 'clean'; else echo 'dirty'; fi)"
|
||||||
var GitState string
|
var GitState string
|
||||||
|
|
||||||
// BuildHost stores the hostname of the machine where the binary was built.
|
// BuildHost stores the hostname of the machine where the binary was built.
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.BuildHost=$(hostname)"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.BuildHost=$(hostname)"
|
||||||
var BuildHost string
|
var BuildHost string
|
||||||
|
|
||||||
// GoVersion captures the Go version used to build the binary.
|
// GoVersion captures the Go version used to build the binary.
|
||||||
// Typically, this can be obtained automatically with runtime.Version(), but you can set it manually.
|
// Typically, this can be obtained automatically with runtime.Version(), but you can set it manually.
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.GoVersion=$(go version | awk '{print $3}')"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.GoVersion=$(go version | awk '{print $3}')"
|
||||||
var GoVersion string
|
var GoVersion string
|
||||||
|
|
||||||
// BuildUser is the username of the person or system that initiated the build process.
|
// BuildUser is the username of the person or system that initiated the build process.
|
||||||
// Set via -ldflags "-X github.com/OpenCHAMI/magellan/internal/version.BuildUser=$(whoami)"
|
// Set via -ldflags "-X github.com/davidallendj/magellan/internal/version.BuildUser=$(whoami)"
|
||||||
var BuildUser string
|
var BuildUser string
|
||||||
|
|
||||||
// PrintVersionInfo outputs all versioning information for troubleshooting or version checks.
|
// PrintVersionInfo outputs all versioning information for troubleshooting or version checks.
|
||||||
|
|
|
||||||
2
main.go
2
main.go
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/OpenCHAMI/magellan/cmd"
|
"github.com/davidallendj/magellan/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
"github.com/davidallendj/magellan/pkg/secrets"
|
||||||
)
|
)
|
||||||
|
|
||||||
type BMCCredentials struct {
|
type BMCCredentials struct {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package client
|
package client
|
||||||
|
|
||||||
// See ref for API docs:
|
// See ref for API docs:
|
||||||
// https://github.com/OpenCHAMI/hms-smd/blob/master/docs/examples.adoc
|
// https://github.com/davidallendj/hms-smd/blob/master/docs/examples.adoc
|
||||||
// https://github.com/OpenCHAMI/hms-smd
|
// https://github.com/davidallendj/hms-smd
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,11 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/internal/util"
|
"github.com/davidallendj/magellan/internal/util"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/bmc"
|
"github.com/davidallendj/magellan/pkg/bmc"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/client"
|
"github.com/davidallendj/magellan/pkg/client"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/crawler"
|
"github.com/davidallendj/magellan/pkg/crawler"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
"github.com/davidallendj/magellan/pkg/secrets"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/internal/util"
|
"github.com/davidallendj/magellan/internal/util"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/bmc"
|
"github.com/davidallendj/magellan/pkg/bmc"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
"github.com/davidallendj/magellan/pkg/secrets"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/stmcginnis/gofish"
|
"github.com/stmcginnis/gofish"
|
||||||
"github.com/stmcginnis/gofish/redfish"
|
"github.com/stmcginnis/gofish/redfish"
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
urlx "github.com/OpenCHAMI/magellan/internal/url"
|
urlx "github.com/davidallendj/magellan/internal/url"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/client"
|
"github.com/davidallendj/magellan/pkg/client"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
"github.com/davidallendj/magellan/pkg/secrets"
|
||||||
)
|
)
|
||||||
|
|
||||||
func usage() {
|
func usage() {
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@ import (
|
||||||
|
|
||||||
"flag"
|
"flag"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/internal/util"
|
"github.com/davidallendj/magellan/internal/util"
|
||||||
magellan "github.com/OpenCHAMI/magellan/pkg"
|
magellan "github.com/davidallendj/magellan/pkg"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/client"
|
"github.com/davidallendj/magellan/pkg/client"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,9 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/OpenCHAMI/magellan/pkg/client"
|
"github.com/davidallendj/magellan/pkg/client"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/crawler"
|
"github.com/davidallendj/magellan/pkg/crawler"
|
||||||
"github.com/OpenCHAMI/magellan/pkg/secrets"
|
"github.com/davidallendj/magellan/pkg/secrets"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue