Skip to content

From client-go launch a pod, wait until stable, then run command from outside. Finally delete pod

License

Notifications You must be signed in to change notification settings

cwxstat/go-pod-launch-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codefresh build status

go-pod-launch-run

From client-go launch a pod, wait until stable, then run command from outside. Finally, delete pod

# Run the following

go get k8s.io/client-go@v0.26.3

Usage

$ make
 make help                 -> display make targets
 make build-all            -> build: go get, tidy, fmt, go build -o gplr
 make coverage             -> run tests with coverage, output to coverage.out
 make check-coverage       -> check coverage is above 40%
 make lint                 -> golangci-lint
 make go-lint-fix          -> golangci-lint run --fix
 make codefresh-environments -> codefresh get runtime-environments
 make test                 -> go test ./...
 make pipeline             -> run all codefresh pipeline checks

About

From client-go launch a pod, wait until stable, then run command from outside. Finally delete pod

Resources

License

Stars

Watchers

Forks

Packages

No packages published