mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-18 13:21:00 +02:00
Introduce service accounts and bootstrap tokens (#22)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package get
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var ErrGetFailed = errors.New("get command failed")
|
||||
|
||||
func NewCommand() *cobra.Command {
|
||||
command := &cobra.Command{
|
||||
Use: "get",
|
||||
Short: "Retrieve resources from the controller",
|
||||
}
|
||||
|
||||
command.AddCommand(newGetServiceAccountCommand(), newGetBootstrapTokenCommand())
|
||||
|
||||
return command
|
||||
}
|
||||
Reference in New Issue
Block a user