{"modulePath":"github.com/imikushin/dispatch","version":"v0.1.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\n///////////////////////////////////////////////////////////////////// Copyright (c) 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 /////////////////////////////////////////////////////////////////////\n\n///////////////////////////////////////////////////////////////////// Copyright (c) 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 /////////////////////////////////////////////////////////////////////\n\n## Variables\n\n```go\nvar ErrExit = fmt.Errorf(\"exit\")\n```\nErrExit may be passed to CheckError to instruct it to output nothing but exit with status code 1.\n\n## Functions\n\n```go\nfunc CallCreateBaseImage(bi interface{}) error\n```\nCallCreateBaseImage makes the API call to create a base image\n\n```go\nfunc CallCreateFunction(f interface{}) error\n```\nCallCreateFunction makes the API call to create a function\n\n```go\nfunc CallCreateImage(i interface{}) error\n```\nCallCreateImage makes the API call to create an image\n\n```go\nfunc CallCreateSecret(s interface{}) error\n```\n\n```go\nfunc CallDeleteBaseImage(i interface{}) error\n```\nCallDeleteBaseImage makes the API call to create an image\n\n```go\nfunc CallDeleteFunction(i interface{}) error\n```\nCallDeleteFunction makes the API call to delete a function\n\n```go\nfunc CallDeleteImage(i interface{}) error\n```\nCallDeleteImage makes the API call to delete an image\n\n```go\nfunc CallDeleteSecret(s interface{}) error\n```\nCallDeleteSecret makes the API call to delete a secret\n\n```go\nfunc CheckErr(err error)\n```\nCheckErr prints a user friendly error to STDERR and exits with a non-zero exit code.\n\n```go\nfunc GetAuthInfoWriter() runtime.ClientAuthInfoWriter\n```\nGetAuthInfoWriter constructor an ClientAuthInfoWriter based on the SkipAuth flag\n\n```go\nfunc NewCLI(in io.Reader, out, errOut io.Writer) *cobra.Command\n```\nNewCLI creates cobra object for top-level Dispatch CLI\n\n```go\nfunc NewCmdCreate(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdCreate creates a command object for the \"create\" action. Currently, one must use subcommands for specific resources to be created. In future create should accept file or stdin with multiple resources specifications. TODO: add create command implementation\n\n```go\nfunc NewCmdCreateAPI(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdCreateAPI creates command responsible for serverless function api creation.\n\n```go\nfunc NewCmdCreateBaseImage(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdCreateBaseImage creates command responsible for base image creation.\n\n```go\nfunc NewCmdCreateEventDriver(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdCreateEventDriver creates command responsible for dispatch function eventDriver creation.\n\n```go\nfunc NewCmdCreateFunction(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdCreateFunction creates command responsible for serverless function creation.\n\n```go\nfunc NewCmdCreateImage(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdCreateImage creates command responsible for image creation.\n\n```go\nfunc NewCmdCreateSecret(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdCreateSecret creates command responsible for secret creation.\n\n```go\nfunc NewCmdCreateSubscription(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdCreateSubscription creates command responsible for subscription creation.\n\n```go\nfunc NewCmdDelete(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdDelete creates a command object for the generic \"delete\" action, which deletes one or more resources from a server.\n\n```go\nfunc NewCmdDeleteAPI(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdDeleteAPI creates command responsible for deleting API.\n\n```go\nfunc NewCmdDeleteBaseImage(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdDeleteBaseImage creates command responsible for deleting base images.\n\n```go\nfunc NewCmdDeleteEventDriver(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdDeleteEventDriver creates command responsible for deleting EventDriver.\n\n```go\nfunc NewCmdDeleteFunction(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdDeleteFunction creates command responsible for deleting functions.\n\n```go\nfunc NewCmdDeleteImage(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdDeleteImage creates command responsible for deleting  images.\n\n```go\nfunc NewCmdDeleteSecret(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdDeleteSecret creates command responsible for deleting  secrets.\n\n```go\nfunc NewCmdDeleteSubscription(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdDeleteSubscription creates command responsible for deleting subscriptions.\n\n```go\nfunc NewCmdEmit(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdEmit creates a command to emit a serverless event.\n\n```go\nfunc NewCmdExec(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdExec creates a command to execute a serverless function.\n\n```go\nfunc NewCmdGet(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGet creates a command object for the generic \"get\" action, which retrieves one or more resources from a server.\n\n```go\nfunc NewCmdGetAPI(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGetAPI gets command responsible for serverless function api creation.\n\n```go\nfunc NewCmdGetBaseImage(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGetBaseImage creates command responsible for getting base images.\n\n```go\nfunc NewCmdGetEventDriver(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGetEventDriver gets command responsible for retrieving Dispatch event driver.\n\n```go\nfunc NewCmdGetFunction(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGetFunction creates command responsible for getting functions.\n\n```go\nfunc NewCmdGetImage(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGetImage creates command responsible for getting images.\n\n```go\nfunc NewCmdGetRun(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGetRun creates command responsible for getting runs.\n\n```go\nfunc NewCmdGetSecret(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGetSecret creates command responsible for getting secrets.\n\n```go\nfunc NewCmdGetSubscription(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdGetSubscription creates command responsible for getting subscriptions.\n\n```go\nfunc NewCmdInstall(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdInstall creates a command object for the generic \"get\" action, which retrieves one or more resources from a server.\n\n```go\nfunc NewCmdLogin(in io.Reader, out, errOut io.Writer) *cobra.Command\n```\nNewCmdLogin creates a command to login to VMware Dispatch.\n\n```go\nfunc NewCmdLogout(in io.Reader, out, errOut io.Writer) *cobra.Command\n```\nNewCmdLogout creates a command to logout from Dispatch.\n\n```go\nfunc NewCmdUninstall(out io.Writer, errOut io.Writer) *cobra.Command\n```\nNewCmdUninstall creates a command object for the uninstallation of dispatch compontents\n\n","path":"github.com/imikushin/dispatch/pkg/dispatchcli/cmd","name":"cmd","synopsis":"///////////////////////////////////////////////////////////////////// Copyright (c) 2017 VMware, Inc.","isRedistributable":true}
