Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
00966bb4
Commit
00966bb4
authored
Apr 20, 2016
by
Matt Butcher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(helmet): remove helmet
parent
09a3b7ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
40 deletions
+0
-40
helmet.go
cmd/helmet/helmet.go
+0
-40
No files found.
cmd/helmet/helmet.go
deleted
100644 → 0
View file @
09a3b7ed
package
main
import
(
"fmt"
"os"
"github.com/codegangsta/cli"
"github.com/deis/tiller/pkg/hapi"
ctx
"golang.org/x/net/context"
"google.golang.org/grpc"
)
func
main
()
{
app
:=
cli
.
NewApp
()
app
.
Name
=
"helmet"
app
.
Usage
=
"The Helm Easy Tester (HelmET)"
app
.
Action
=
run
app
.
Run
(
os
.
Args
)
}
func
run
(
c
*
cli
.
Context
)
{
conn
,
err
:=
grpc
.
Dial
(
"localhost:44134"
,
grpc
.
WithInsecure
())
if
err
!=
nil
{
fmt
.
Fprintf
(
os
.
Stderr
,
"Could not connect to server: %s
\n
"
,
err
)
os
.
Exit
(
1
)
}
defer
conn
.
Close
()
pc
:=
hapi
.
NewProbeClient
(
conn
)
req
:=
&
hapi
.
PingRequest
{
Name
:
"helmet"
}
res
,
err
:=
pc
.
Ready
(
ctx
.
Background
(),
req
)
if
err
!=
nil
{
fmt
.
Fprintf
(
os
.
Stderr
,
"Error pinging server: %s
\n
"
,
err
)
os
.
Exit
(
1
)
}
fmt
.
Printf
(
"Server is %s
\n
"
,
res
.
Status
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment