Skip to content

Commit

Permalink
Merge pull request #8 from JordanSussman/master
Browse files Browse the repository at this point in the history
fix(naming): update to vela
  • Loading branch information
jbrockopp authored Nov 9, 2019
2 parents 876d1d1 + c8281ea commit 19f2e39
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 111 deletions.
42 changes: 21 additions & 21 deletions vela/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,9 @@ func ExampleBuildService_Get() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -382,9 +382,9 @@ func ExampleBuildService_GetAll() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -411,9 +411,9 @@ func ExampleBuildService_GetLogs() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -440,9 +440,9 @@ func ExampleBuildService_Add() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -495,9 +495,9 @@ func ExampleBuildService_Update() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -529,9 +529,9 @@ func ExampleBuildService_Remove() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -558,9 +558,9 @@ func ExampleBuildService_Restart() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down
48 changes: 24 additions & 24 deletions vela/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ func ExampleLogService_GetService() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -401,9 +401,9 @@ func ExampleLogService_AddService() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -434,9 +434,9 @@ func ExampleLogService_UpdateService() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -467,9 +467,9 @@ func ExampleLogService_RemoveService() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -496,9 +496,9 @@ func ExampleLogService_GetStep() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -525,9 +525,9 @@ func ExampleLogService_AddStep() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -558,9 +558,9 @@ func ExampleLogService_UpdateStep() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -591,9 +591,9 @@ func ExampleLogService_RemoveStep() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down
42 changes: 21 additions & 21 deletions vela/repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ func ExampleRepoService_Get() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -351,9 +351,9 @@ func ExampleRepoService_GetAll() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -380,9 +380,9 @@ func ExampleRepoService_Add() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -427,9 +427,9 @@ func ExampleRepoService_Update() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -461,9 +461,9 @@ func ExampleRepoService_Remove() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -490,9 +490,9 @@ func ExampleRepoService_Repair() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -519,9 +519,9 @@ func ExampleRepoService_Chown() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down
30 changes: 15 additions & 15 deletions vela/secret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ func ExampleSecretService_Get() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -262,9 +262,9 @@ func ExampleSecretService_GetAll() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand All @@ -291,9 +291,9 @@ func ExampleSecretService_Add() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -327,9 +327,9 @@ func ExampleSecretService_Update() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down Expand Up @@ -362,9 +362,9 @@ func ExampleSecretService_Remove() {
// Create a new vela client for interacting with server
c, _ := NewClient("http://localhost:8080", nil)

u := os.Getenv("CARAVEL_USERNAME")
p := os.Getenv("CARAVEL_PASSWORD")
otp := os.Getenv("CARAVEL_OTP")
u := os.Getenv("VELA_USERNAME")
p := os.Getenv("VELA_PASSWORD")
otp := os.Getenv("VELA_OTP")

l := library.Login{
Username: &u,
Expand Down
Loading

0 comments on commit 19f2e39

Please sign in to comment.