entrypoints

package
v0.6.44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 55 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PodNamespaceEnvVar = "POD_NAMESPACE"
)

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "flyteadmin",
	Short: "Fill in later",
	Long: `
To get started run the serve subcommand which will start a server on localhost:8088:

    flyteadmin serve

Then you can hit it with the client:

    flyteadmin adminservice foo bar baz

Or over HTTP 1.1 with curl:
    curl -X POST http://localhost:8088/api/v1/projects'
`,
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		return initConfig(cmd.Flags())
	},
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetHandleOpenapiSpec added in v0.1.5

func GetHandleOpenapiSpec(ctx context.Context) http.HandlerFunc

func GetLocalDbConfig

func GetLocalDbConfig() repositoryConfig.DbConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL