Skip to content

Commit

Permalink
fix(): Rename to SliceCtl
Browse files Browse the repository at this point in the history
  • Loading branch information
that-backend-guy committed Jun 20, 2022
1 parent 993f61e commit 3ba22b2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 17 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.PHONEY: build
build:
GOOS=windows GOARCH=amd64 go build -o cmd/kubeslice-windows-amd64.exe main.go
GOOS=linux GOARCH=amd64 go build -o cmd/kubeslice-linux-amd64 main.go
GOOS=linux GOARCH=arm go build -o cmd/kubeslice-linux-arm main.go
GOOS=linux GOARCH=arm64 go build -o cmd/kubeslice-linux-arm64 main.go
GOOS=darwin GOARCH=amd64 go build -o cmd/kubeslice-darwin-amd64 main.go
GOOS=darwin GOARCH=arm64 go build -o cmd/kubeslice-darwin-arm64 main.go
GOOS=windows GOARCH=amd64 go build -o cmd/slicectl-windows-amd64.exe main.go
GOOS=linux GOARCH=amd64 go build -o cmd/slicectl-linux-amd64 main.go
GOOS=linux GOARCH=arm go build -o cmd/slicectl-linux-arm main.go
GOOS=linux GOARCH=arm64 go build -o cmd/slicectl-linux-arm64 main.go
GOOS=darwin GOARCH=amd64 go build -o cmd/slicectl-darwin-amd64 main.go
GOOS=darwin GOARCH=arm64 go build -o cmd/slicectl-darwin-arm64 main.go
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# `slicectl` for simplified KubeSlice Operations

[comment]: <> (![Latest GitHub release]&#40;https://img.shields.io/github/release/kubeslice/slicectl.svg&#41;)

This repository provides `slicectl` tool.
[Install &rarr;](#installation)

## Installation

`slicectl` is a Go Lang executable utility which helps perform the KubeSlice operations like installation, demo, etc.
on Kubernetes Clusters. You can download a suitable version of the installer from the [**Releases page
&rarr;**](https://github.com/kubeslice/slicectl/releases)

20 changes: 9 additions & 11 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func seamlessInstall() {
internal.PrintNextSteps(true)
}


func minimalInstall() {
basicInstall()
internal.GenerateSliceConfiguration()
Expand All @@ -66,22 +65,21 @@ func cleanup() {
internal.DeleteKubeSliceDirectory()
}


func basicInstall() {
internal.VerifyExecutables()
internal.GenerateKubeSliceDirectory()
internal.GenerateKindConfiguration()
internal.CreateKubeConfig()
internal.SetKubeConfigPath()
//internal.CreateKindClusters()
//internal.InstallCalico()
//internal.PopulateDockerNetworkMap()
//internal.AddHelmCharts()
//internal.InstallCertManager()
//internal.InstallKubeSliceController()
//internal.CreateKubeSliceProject()
//internal.RegisterWorkerClusters()
//internal.InstallKubeSliceWorker()
internal.CreateKindClusters()
internal.InstallCalico()
internal.PopulateDockerNetworkMap()
internal.AddHelmCharts()
internal.InstallCertManager()
internal.InstallKubeSliceController()
internal.CreateKubeSliceProject()
internal.RegisterWorkerClusters()
internal.InstallKubeSliceWorker()
}

func printHelp() {
Expand Down

0 comments on commit 3ba22b2

Please sign in to comment.