-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'kosmos-io:main' into main
- Loading branch information
Showing
620 changed files
with
121,874 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package app | ||
|
||
import "github.com/spf13/cobra" | ||
|
||
func NewKosletCommand() *cobra.Command { | ||
return nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package main | ||
|
||
import ( | ||
"os" | ||
|
||
"k8s.io/component-base/cli" | ||
|
||
"github.com/kosmos.io/kosmos/cmd/koslet/app" | ||
) | ||
|
||
func main() { | ||
command := app.NewKosletCommand() | ||
code := cli.Run(command) | ||
os.Exit(code) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package main | ||
|
||
import ( | ||
"os" | ||
|
||
"k8s.io/component-base/cli" | ||
"k8s.io/kubernetes/cmd/kube-scheduler/app" | ||
) | ||
|
||
func main() { | ||
// Register custom plugins to the scheduler framework. | ||
// Later they can consist of scheduler profile(s) and hence | ||
// used by various kinds of workloads. | ||
command := app.NewSchedulerCommand() | ||
|
||
code := cli.Run(command) | ||
os.Exit(code) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.