Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Last active May 1, 2019 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/65fcd34d1ad89f9afeb9a9ce4df01b99 to your computer and use it in GitHub Desktop.
Save ajeetraina/65fcd34d1ad89f9afeb9a9ce4df01b99 to your computer and use it in GitHub Desktop.
Playing around RackHD & InfraKit
## Cloning Infrakit
Ajeets-MacBook-Air:summit ajeetraina$ git clone https://github.com/codedellemc/infrakit.rackhd
Cloning into 'infrakit.rackhd'...
remote: Counting objects: 197, done.
remote: Total 197 (delta 0), reused 0 (delta 0), pack-reused 197
Receiving objects: 100% (197/197), 180.33 KiB | 104.00 KiB/s, done.
Resolving deltas: 100% (88/88), done.
Ajeets-MacBook-Air:summit ajeetraina$ cd infrakit.rackhd/
Ajeets-MacBook-Air:infrakit.rackhd ajeetraina$ ls
LICENSE README.md img
Makefile demo plugin
Ajeets-MacBook-Air:infrakit.rackhd ajeetraina$ cd plugin/
Ajeets-MacBook-Air:plugin ajeetraina$ ls
instance version.go
Ajeets-MacBook-Air:plugin ajeetraina$ cd instance/
Ajeets-MacBook-Air:instance ajeetraina$ ls
builder.go instance.go instance_test.go
cmd instance_suite_test.go
Ajeets-MacBook-Air:instance ajeetraina$ cd cmd/
Ajeets-MacBook-Air:cmd ajeetraina$ ls
main.go
Ajeets-MacBook-Air:cmd ajeetraina$ vi main.go
# Go Compilation
Ajeets-MacBook-Air:cmd ajeetraina$ go get -v -d
github.com/Sirupsen/logrus (download)
Fetching https://golang.org/x/crypto/ssh/terminal?go-get=1
Parsing meta tags from https://golang.org/x/crypto/ssh/terminal?go-get=1 (status code 200)
get "golang.org/x/crypto/ssh/terminal": found meta tag main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/ssh/terminal?go-get=1
get "golang.org/x/crypto/ssh/terminal": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag main.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/codedellemc/infrakit.rackhd (download)
github.com/spf13/cobra (download)
github.com/spf13/pflag (download)
github.com/docker/infrakit (download)
github.com/go-openapi/runtime (download)
github.com/go-openapi/errors (download)
github.com/go-openapi/strfmt (download)
github.com/asaskevich/govalidator (download)
github.com/mailru/easyjson (download)
github.com/mitchellh/mapstructure (download)
Fetching https://gopkg.in/mgo.v2/bson?go-get=1
Parsing meta tags from https://gopkg.in/mgo.v2/bson?go-get=1 (status code 200)
get "gopkg.in/mgo.v2/bson": found meta tag main.metaImport{Prefix:"gopkg.in/mgo.v2", VCS:"git", RepoRoot:"https://gopkg.in/mgo.v2"} at https://gopkg.in/mgo.v2/bson?go-get=1
get "gopkg.in/mgo.v2/bson": verifying non-authoritative meta tag
Fetching https://gopkg.in/mgo.v2?go-get=1
Parsing meta tags from https://gopkg.in/mgo.v2?go-get=1 (status code 200)
gopkg.in/mgo.v2 (download)
github.com/go-openapi/swag (download)
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag main.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
Fetching https://golang.org/x/net/context?go-get=1
Parsing meta tags from https://golang.org/x/net/context?go-get=1 (status code 200)
get "golang.org/x/net/context": found meta tag main.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net/context?go-get=1
get "golang.org/x/net/context": verifying non-authoritative meta tag
Fetching https://golang.org/x/net?go-get=1
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
golang.org/x/net (download)
github.com/spiegela/gorackhd (download)
github.com/go-openapi/validate (download)
github.com/go-openapi/analysis (download)
github.com/go-openapi/jsonpointer (download)
github.com/go-openapi/spec (download)
github.com/go-openapi/jsonreference (download)
github.com/PuerkitoBio/purell (download)
github.com/PuerkitoBio/urlesc (download)
Fetching https://golang.org/x/text/secure/bidirule?go-get=1
Parsing meta tags from https://golang.org/x/text/secure/bidirule?go-get=1 (status code 200)
get "golang.org/x/text/secure/bidirule": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/secure/bidirule?go-get=1
get "golang.org/x/text/secure/bidirule": verifying non-authoritative meta tag
Fetching https://golang.org/x/text?go-get=1
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
golang.org/x/text (download)
Fetching https://golang.org/x/text/unicode/norm?go-get=1
Parsing meta tags from https://golang.org/x/text/unicode/norm?go-get=1 (status code 200)
get "golang.org/x/text/unicode/norm": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/unicode/norm?go-get=1
get "golang.org/x/text/unicode/norm": verifying non-authoritative meta tag
Fetching https://golang.org/x/text/width?go-get=1
Parsing meta tags from https://golang.org/x/text/width?go-get=1 (status code 200)
get "golang.org/x/text/width": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/width?go-get=1
get "golang.org/x/text/width": verifying non-authoritative meta tag
github.com/go-openapi/loads (download)
Ajeets-MacBook-Air:cmd ajeetraina$
Verifying Go version
$go version
go version go1.8.3 darwin/amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment