Documentation
¶
Index ¶
- Variables
- func CallCreateApplication(i interface{}) error
- func CallCreateBaseImage(bi interface{}) error
- func CallCreateFunction(f interface{}) error
- func CallCreateImage(i interface{}) error
- func CallCreatePolicy(p interface{}) error
- func CallCreateSecret(s interface{}) error
- func CallCreateServiceAccount(p interface{}) error
- func CallCreateServiceInstance(s interface{}) error
- func CallDeleteApplication(i interface{}) error
- func CallDeleteBaseImage(i interface{}) error
- func CallDeleteFunction(i interface{}) error
- func CallDeleteImage(i interface{}) error
- func CallDeletePolicy(i interface{}) error
- func CallDeleteSecret(s interface{}) error
- func CallDeleteServiceAccount(i interface{}) error
- func CallDeleteServiceInstance(i interface{}) error
- func CallUpdateAPI(input interface{}) error
- func CallUpdateApplication(input interface{}) error
- func CallUpdateBaseImage(input interface{}) error
- func CallUpdateDriver(input interface{}) error
- func CallUpdateDriverType(input interface{}) error
- func CallUpdateFunction(input interface{}) error
- func CallUpdateImage(input interface{}) error
- func CallUpdatePolicy(p interface{}) error
- func CallUpdateSecret(input interface{}) error
- func CallUpdateServiceAccount(p interface{}) error
- func CallUpdateSubscription(input interface{}) error
- func CheckErr(err error)
- func GetAuthInfoWriter() runtime.ClientAuthInfoWriter
- func NewCLI(in io.Reader, out, errOut io.Writer) *cobra.Command
- func NewCmdCreate(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateAPI(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateApplication(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateBaseImage(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEventDriver(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateEventDriverType(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateFunction(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateImage(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateSecret(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateServiceInstance(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdCreateSubscription(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDelete(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteAPI(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteApplication(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteBaseImage(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteEventDriver(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteEventDriverType(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteFunction(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteImage(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteSecret(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteServiceInstance(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdDeleteSubscription(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdEmit(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdExec(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGet(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetAPI(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetApplication(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetBaseImage(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetEventDriver(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetEventDriverType(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetFunction(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetImage(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetRun(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetSecret(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetServiceClass(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetServiceInstance(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdGetSubscription(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdIam(out, errOut io.Writer) *cobra.Command
- func NewCmdIamCreate(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdIamCreatePolicy(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdIamCreateServiceAccount(out, errOut io.Writer) *cobra.Command
- func NewCmdIamDelete(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdIamDeletePolicy(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdIamDeleteServiceAccount(out, errOut io.Writer) *cobra.Command
- func NewCmdIamGet(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdIamGetPolicy(out, errOut io.Writer) *cobra.Command
- func NewCmdIamGetServiceAccount(out, errOut io.Writer) *cobra.Command
- func NewCmdInstall(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdLog(out, errOut io.Writer) *cobra.Command
- func NewCmdLogin(in io.Reader, out, errOut io.Writer) *cobra.Command
- func NewCmdLogout(in io.Reader, out, errOut io.Writer) *cobra.Command
- func NewCmdManage(out, errOut io.Writer) *cobra.Command
- func NewCmdUninstall(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdUpdate(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdVersion(out io.Writer) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
var ErrExit = fmt.Errorf("exit")
ErrExit may be passed to CheckError to instruct it to output nothing but exit with status code 1.
Functions ¶
func CallCreateApplication ¶ added in v0.1.13
func CallCreateApplication(i interface{}) error
CallCreateApplication makes the API call to create an application
func CallCreateBaseImage ¶
func CallCreateBaseImage(bi interface{}) error
CallCreateBaseImage makes the API call to create a base image
func CallCreateFunction ¶
func CallCreateFunction(f interface{}) error
CallCreateFunction makes the API call to create a function
func CallCreateImage ¶
func CallCreateImage(i interface{}) error
CallCreateImage makes the API call to create an image
func CallCreatePolicy ¶ added in v0.1.13
func CallCreatePolicy(p interface{}) error
CallCreatePolicy makes the api call to create a policy
func CallCreateSecret ¶
func CallCreateSecret(s interface{}) error
CallCreateSecret makes the API call to create a secret
func CallCreateServiceAccount ¶ added in v0.1.13
func CallCreateServiceAccount(p interface{}) error
CallCreateServiceAccount makes the api call to create a service account
func CallCreateServiceInstance ¶ added in v0.1.13
func CallCreateServiceInstance(s interface{}) error
CallCreateServiceInstance makes the API call to create a service instance
func CallDeleteApplication ¶ added in v0.1.13
func CallDeleteApplication(i interface{}) error
CallDeleteApplication makes the API call to delete an application
func CallDeleteBaseImage ¶
func CallDeleteBaseImage(i interface{}) error
CallDeleteBaseImage makes the API call to create an image
func CallDeleteFunction ¶
func CallDeleteFunction(i interface{}) error
CallDeleteFunction makes the API call to delete a function
func CallDeleteImage ¶
func CallDeleteImage(i interface{}) error
CallDeleteImage makes the API call to delete an image
func CallDeletePolicy ¶ added in v0.1.13
func CallDeletePolicy(i interface{}) error
CallDeletePolicy makes the API call to delete policy
func CallDeleteSecret ¶
func CallDeleteSecret(s interface{}) error
CallDeleteSecret makes the API call to delete a secret
func CallDeleteServiceAccount ¶ added in v0.1.13
func CallDeleteServiceAccount(i interface{}) error
CallDeleteServiceAccount makes the API call to delete ServiceAccount
func CallDeleteServiceInstance ¶ added in v0.1.13
func CallDeleteServiceInstance(i interface{}) error
CallDeleteServiceInstance makes the API call to create an image
func CallUpdateAPI ¶ added in v0.1.13
func CallUpdateAPI(input interface{}) error
CallUpdateAPI makes the backend service call to update an api
func CallUpdateApplication ¶ added in v0.1.13
func CallUpdateApplication(input interface{}) error
CallUpdateApplication makes the API call to update an application
func CallUpdateBaseImage ¶ added in v0.1.13
func CallUpdateBaseImage(input interface{}) error
CallUpdateBaseImage updates a base image
func CallUpdateDriver ¶ added in v0.1.13
func CallUpdateDriver(input interface{}) error
CallUpdateDriver makes the API call to update an event driver
func CallUpdateDriverType ¶ added in v0.1.13
func CallUpdateDriverType(input interface{}) error
CallUpdateDriverType makes the API call to update a driver type
func CallUpdateFunction ¶ added in v0.1.13
func CallUpdateFunction(input interface{}) error
CallUpdateFunction makes the API call to update a function
func CallUpdateImage ¶ added in v0.1.13
func CallUpdateImage(input interface{}) error
CallUpdateImage makes the service call to update an image.
func CallUpdatePolicy ¶ added in v0.1.13
func CallUpdatePolicy(p interface{}) error
CallUpdatePolicy updates a policy
func CallUpdateSecret ¶ added in v0.1.13
func CallUpdateSecret(input interface{}) error
CallUpdateSecret makes the API call to update a secret
func CallUpdateServiceAccount ¶ added in v0.1.13
func CallUpdateServiceAccount(p interface{}) error
CallUpdateServiceAccount updates a serviceaccount
func CallUpdateSubscription ¶ added in v0.1.13
func CallUpdateSubscription(input interface{}) error
CallUpdateSubscription makes the API call to update a subscription
func CheckErr ¶
func CheckErr(err error)
CheckErr prints a user friendly error to STDERR and exits with a non-zero exit code.
func GetAuthInfoWriter ¶
func GetAuthInfoWriter() runtime.ClientAuthInfoWriter
GetAuthInfoWriter constructor an ClientAuthInfoWriter
func NewCmdCreate ¶
NewCmdCreate 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
func NewCmdCreateAPI ¶
NewCmdCreateAPI creates command responsible for dispatch function api creation.
func NewCmdCreateApplication ¶ added in v0.1.13
NewCmdCreateApplication creates command responsible for dispatch application creation.
func NewCmdCreateBaseImage ¶
NewCmdCreateBaseImage creates command responsible for base image creation.
func NewCmdCreateEventDriver ¶
NewCmdCreateEventDriver creates command responsible for dispatch function eventDriver creation.
func NewCmdCreateEventDriverType ¶ added in v0.1.13
NewCmdCreateEventDriverType creates command responsible for dispatch function eventDriver creation.
func NewCmdCreateFunction ¶
NewCmdCreateFunction creates command responsible for dispatch function creation.
func NewCmdCreateImage ¶
NewCmdCreateImage creates command responsible for image creation.
func NewCmdCreateSecret ¶
NewCmdCreateSecret creates command responsible for secret creation.
func NewCmdCreateServiceInstance ¶ added in v0.1.13
NewCmdCreateServiceInstance creates command responsible for service instance creation.
func NewCmdCreateSubscription ¶
NewCmdCreateSubscription creates command responsible for subscription creation.
func NewCmdDelete ¶
NewCmdDelete creates a command object for the generic "delete" action, which deletes one or more resources from a server.
func NewCmdDeleteAPI ¶
NewCmdDeleteAPI creates command responsible for deleting API.
func NewCmdDeleteApplication ¶ added in v0.1.13
NewCmdDeleteApplication creates command responsible for deleting applications.
func NewCmdDeleteBaseImage ¶
NewCmdDeleteBaseImage creates command responsible for deleting base images.
func NewCmdDeleteEventDriver ¶
NewCmdDeleteEventDriver creates command responsible for deleting EventDriver.
func NewCmdDeleteEventDriverType ¶ added in v0.1.13
NewCmdDeleteEventDriverType creates command responsible for deleting EventDriverType.
func NewCmdDeleteFunction ¶
NewCmdDeleteFunction creates command responsible for deleting functions.
func NewCmdDeleteImage ¶
NewCmdDeleteImage creates command responsible for deleting images.
func NewCmdDeleteSecret ¶
NewCmdDeleteSecret creates command responsible for deleting secrets.
func NewCmdDeleteServiceInstance ¶ added in v0.1.13
NewCmdDeleteServiceInstance creates command responsible for deleting a service instance
func NewCmdDeleteSubscription ¶
NewCmdDeleteSubscription creates command responsible for deleting subscriptions.
func NewCmdEmit ¶
NewCmdEmit creates a command to emit a dispatch event.
func NewCmdExec ¶
NewCmdExec creates a command to execute a dispatch function.
func NewCmdGet ¶
NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdGetAPI ¶
NewCmdGetAPI gets command responsible for dispatch function api creation.
func NewCmdGetApplication ¶ added in v0.1.13
NewCmdGetApplication creates command responsible for getting applications.
func NewCmdGetBaseImage ¶
NewCmdGetBaseImage creates command responsible for getting base images.
func NewCmdGetEventDriver ¶
NewCmdGetEventDriver gets command responsible for retrieving Dispatch event driver.
func NewCmdGetEventDriverType ¶ added in v0.1.13
NewCmdGetEventDriverType gets command responsible for retrieving Dispatch event driver type.
func NewCmdGetFunction ¶
NewCmdGetFunction creates command responsible for getting functions.
func NewCmdGetImage ¶
NewCmdGetImage creates command responsible for getting images.
func NewCmdGetRun ¶
NewCmdGetRun creates command responsible for getting runs.
func NewCmdGetSecret ¶
NewCmdGetSecret creates command responsible for getting secrets.
func NewCmdGetServiceClass ¶ added in v0.1.13
NewCmdGetServiceClass creates command responsible for getting service classes.
func NewCmdGetServiceInstance ¶ added in v0.1.13
NewCmdGetServiceInstance creates command responsible for getting service instances.
func NewCmdGetSubscription ¶
NewCmdGetSubscription creates command responsible for getting subscriptions.
func NewCmdIamCreate ¶ added in v0.1.13
NewCmdIamCreate creates a command object for the iam reources creation.
func NewCmdIamCreatePolicy ¶ added in v0.1.13
NewCmdIamCreatePolicy creates command responsible for dispatch policy creation
func NewCmdIamCreateServiceAccount ¶ added in v0.1.13
NewCmdIamCreateServiceAccount creates command responsible for service account creation
func NewCmdIamDelete ¶ added in v0.1.13
NewCmdIamDelete creates a command object for the iam reources creation.
func NewCmdIamDeletePolicy ¶ added in v0.1.13
NewCmdIamDeletePolicy deletes policy
func NewCmdIamDeleteServiceAccount ¶ added in v0.1.13
NewCmdIamDeleteServiceAccount creates command for delete service accounts
func NewCmdIamGet ¶ added in v0.1.13
NewCmdIamGet creates a command object for the iam reources creation.
func NewCmdIamGetPolicy ¶ added in v0.1.13
NewCmdIamGetPolicy creates command for getting policies
func NewCmdIamGetServiceAccount ¶ added in v0.1.13
NewCmdIamGetServiceAccount creates command for getting service accounts
func NewCmdInstall ¶
NewCmdInstall creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdLogin ¶
NewCmdLogin creates a command to login to VMware Dispatch.
func NewCmdLogout ¶
NewCmdLogout creates a command to logout from Dispatch.
func NewCmdManage ¶ added in v0.1.13
NewCmdManage creates a command object for Dispatch "manage" action
func NewCmdUninstall ¶
NewCmdUninstall creates a command object for the uninstallation of dispatch compontents
func NewCmdUpdate ¶ added in v0.1.13
NewCmdUpdate updates command responsible for secret updates.
Types ¶
This section is empty.
Source Files
¶
- auth.go
- cmd.go
- create.go
- create_api.go
- create_application.go
- create_baseimage.go
- create_eventdriver.go
- create_eventdrivertype.go
- create_function.go
- create_image.go
- create_secret.go
- create_serviceinstance.go
- create_subscription.go
- delete.go
- delete_api.go
- delete_application.go
- delete_baseimage.go
- delete_eventdriver.go
- delete_eventdrivertype.go
- delete_function.go
- delete_image.go
- delete_secret.go
- delete_serviceinstance.go
- delete_subscription.go
- emit.go
- errors.go
- exec.go
- get.go
- get_api.go
- get_application.go
- get_baseimage.go
- get_eventdriver.go
- get_eventdrivertype.go
- get_function.go
- get_image.go
- get_run.go
- get_secret.go
- get_serviceclass.go
- get_serviceinstance.go
- get_subscription.go
- helpers.go
- iam.go
- iam_create.go
- iam_create_policy.go
- iam_create_serviceaccount.go
- iam_delete.go
- iam_delete_policy.go
- iam_delete_serviceaccount.go
- iam_get.go
- iam_get_policy.go
- iam_get_serviceaccount.go
- install.go
- install_config.go
- log.go
- login.go
- logout.go
- manage.go
- rest_clients.go
- uninstall.go
- update.go
- update_function.go
- version.go