Documentation ¶
Index ¶
- Variables
- func CallCreateApplication(i interface{}) error
- func CallCreatePolicy(p interface{}) error
- func CallCreateServiceAccount(p interface{}) error
- func CallDeleteApplication(i interface{}) error
- func CallDeletePolicy(i interface{}) error
- func CallDeleteServiceAccount(i interface{}) error
- func CallUpdateApplication(input interface{}) error
- func CallUpdatePolicy(p interface{}) error
- func CallUpdateServiceAccount(p 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 NewCmdCreateSeedImages(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 NewCmdManageBootstrap(out io.Writer, errOut io.Writer) *cobra.Command
- func NewCmdManageContext(out io.Writer, 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
- type ModelAction
- func CallCreateAPI(c client.APIsClient) ModelAction
- func CallCreateBaseImage(c client.ImagesClient) ModelAction
- func CallCreateEventDriver(c client.EventsClient) ModelAction
- func CallCreateEventDriverType(c client.EventsClient) ModelAction
- func CallCreateFunction(c client.FunctionsClient) ModelAction
- func CallCreateImage(c client.ImagesClient) ModelAction
- func CallCreateSecret(c client.SecretsClient) ModelAction
- func CallCreateServiceInstance(c client.ServicesClient) ModelAction
- func CallCreateSubscription(c client.EventsClient) ModelAction
- func CallDeleteAPI(c client.APIsClient) ModelAction
- func CallDeleteBaseImage(c client.ImagesClient) ModelAction
- func CallDeleteEventDriver(c client.EventsClient) ModelAction
- func CallDeleteEventDriverType(c client.EventsClient) ModelAction
- func CallDeleteFunction(c client.FunctionsClient) ModelAction
- func CallDeleteImage(c client.ImagesClient) ModelAction
- func CallDeleteSecret(c client.SecretsClient) ModelAction
- func CallDeleteServiceInstance(c client.ServicesClient) ModelAction
- func CallDeleteSubscription(c client.EventsClient) ModelAction
- func CallUpdateAPI(c client.APIsClient) ModelAction
- func CallUpdateBaseImage(c client.ImagesClient) ModelAction
- func CallUpdateDriver(c client.EventsClient) ModelAction
- func CallUpdateDriverType(c client.EventsClient) ModelAction
- func CallUpdateFunction(c client.FunctionsClient) ModelAction
- func CallUpdateImage(c client.ImagesClient) ModelAction
- func CallUpdateSecret(c client.SecretsClient) ModelAction
- func CallUpdateSubscription(c client.EventsClient) ModelAction
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 CallCreatePolicy ¶ added in v0.1.13
func CallCreatePolicy(p interface{}) error
CallCreatePolicy makes the api call to create a policy
func CallCreateServiceAccount ¶ added in v0.1.13
func CallCreateServiceAccount(p interface{}) error
CallCreateServiceAccount makes the api call to create a service account
func CallDeleteApplication ¶ added in v0.1.13
func CallDeleteApplication(i interface{}) error
CallDeleteApplication makes the API call to delete an application
func CallDeletePolicy ¶ added in v0.1.13
func CallDeletePolicy(i interface{}) error
CallDeletePolicy makes the API call to delete policy
func CallDeleteServiceAccount ¶ added in v0.1.13
func CallDeleteServiceAccount(i interface{}) error
CallDeleteServiceAccount makes the API call to delete ServiceAccount
func CallUpdateApplication ¶ added in v0.1.13
func CallUpdateApplication(input interface{}) error
CallUpdateApplication makes the API call to update an application
func CallUpdatePolicy ¶ added in v0.1.13
func CallUpdatePolicy(p interface{}) error
CallUpdatePolicy updates a policy
func CallUpdateServiceAccount ¶ added in v0.1.13
func CallUpdateServiceAccount(p interface{}) error
CallUpdateServiceAccount updates a serviceaccount
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 NewCmdCreateSeedImages ¶ added in v0.1.17
NewCmdCreateSeedImages creates command responsible for creation of seed images and base-images.
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 NewCmdManageBootstrap ¶ added in v0.1.17
NewCmdManageBootstrap handles configuration context operations
func NewCmdManageContext ¶ added in v0.1.16
NewCmdManageContext handles configuration context operations
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 ¶
type ModelAction ¶ added in v0.1.17
type ModelAction func(interface{}) error
ModelAction is the function type for CLI actions
func CallCreateAPI ¶ added in v0.1.16
func CallCreateAPI(c client.APIsClient) ModelAction
CallCreateAPI makes the API call to create an API endpoint
func CallCreateBaseImage ¶
func CallCreateBaseImage(c client.ImagesClient) ModelAction
CallCreateBaseImage makes the API call to create a base image
func CallCreateEventDriver ¶ added in v0.1.16
func CallCreateEventDriver(c client.EventsClient) ModelAction
CallCreateEventDriver makes the API call to create an event driver
func CallCreateEventDriverType ¶ added in v0.1.16
func CallCreateEventDriverType(c client.EventsClient) ModelAction
CallCreateEventDriverType makes the API call to create an event driver type
func CallCreateFunction ¶
func CallCreateFunction(c client.FunctionsClient) ModelAction
CallCreateFunction makes the API call to create a function
func CallCreateImage ¶
func CallCreateImage(c client.ImagesClient) ModelAction
CallCreateImage makes the API call to create an image
func CallCreateSecret ¶
func CallCreateSecret(c client.SecretsClient) ModelAction
CallCreateSecret makes the API call to create a secret
func CallCreateServiceInstance ¶ added in v0.1.13
func CallCreateServiceInstance(c client.ServicesClient) ModelAction
CallCreateServiceInstance makes the API call to create a service instance
func CallCreateSubscription ¶ added in v0.1.16
func CallCreateSubscription(c client.EventsClient) ModelAction
CallCreateSubscription makes the API call to create an event subscription
func CallDeleteAPI ¶ added in v0.1.16
func CallDeleteAPI(c client.APIsClient) ModelAction
CallDeleteAPI makes the API call to delete an API endpoint
func CallDeleteBaseImage ¶
func CallDeleteBaseImage(c client.ImagesClient) ModelAction
CallDeleteBaseImage makes the API call to create an image
func CallDeleteEventDriver ¶ added in v0.1.16
func CallDeleteEventDriver(c client.EventsClient) ModelAction
CallDeleteEventDriver makes the API call to delete an event driver
func CallDeleteEventDriverType ¶ added in v0.1.16
func CallDeleteEventDriverType(c client.EventsClient) ModelAction
CallDeleteEventDriverType makes the API call to delete an event driver
func CallDeleteFunction ¶
func CallDeleteFunction(c client.FunctionsClient) ModelAction
CallDeleteFunction makes the API call to delete a function
func CallDeleteImage ¶
func CallDeleteImage(c client.ImagesClient) ModelAction
CallDeleteImage makes the API call to delete an image
func CallDeleteSecret ¶
func CallDeleteSecret(c client.SecretsClient) ModelAction
CallDeleteSecret makes the API call to delete a secret
func CallDeleteServiceInstance ¶ added in v0.1.13
func CallDeleteServiceInstance(c client.ServicesClient) ModelAction
CallDeleteServiceInstance makes the API call to create an image
func CallDeleteSubscription ¶ added in v0.1.16
func CallDeleteSubscription(c client.EventsClient) ModelAction
CallDeleteSubscription makes the API call to delete an event subscription
func CallUpdateAPI ¶ added in v0.1.13
func CallUpdateAPI(c client.APIsClient) ModelAction
CallUpdateAPI makes the backend service call to update an api
func CallUpdateBaseImage ¶ added in v0.1.13
func CallUpdateBaseImage(c client.ImagesClient) ModelAction
CallUpdateBaseImage updates a base image
func CallUpdateDriver ¶ added in v0.1.13
func CallUpdateDriver(c client.EventsClient) ModelAction
CallUpdateDriver makes the API call to update an event driver
func CallUpdateDriverType ¶ added in v0.1.13
func CallUpdateDriverType(c client.EventsClient) ModelAction
CallUpdateDriverType makes the API call to update a driver type
func CallUpdateFunction ¶ added in v0.1.13
func CallUpdateFunction(c client.FunctionsClient) ModelAction
CallUpdateFunction makes the API call to update a function
func CallUpdateImage ¶ added in v0.1.13
func CallUpdateImage(c client.ImagesClient) ModelAction
CallUpdateImage makes the service call to update an image.
func CallUpdateSecret ¶ added in v0.1.13
func CallUpdateSecret(c client.SecretsClient) ModelAction
CallUpdateSecret makes the API call to update a secret
func CallUpdateSubscription ¶ added in v0.1.13
func CallUpdateSubscription(c client.EventsClient) ModelAction
CallUpdateSubscription makes the API call to update a subscription
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_seed-images.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
- manage_bootstrap.go
- manage_context.go
- rest_clients.go
- uninstall.go
- update.go
- update_function.go
- version.go