orchestrator

package
v0.0.0-...-525bda9 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package orchestrator Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package orchestrator Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package orchestrator Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package orchestrator Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package orchestrator Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCategory

func CreateCategory(APIClient *types.APIClientOptions, categoryName string, categoryType string, parentCategoryID string) (*types.WsCategory, error)

CreateCategory creates a category

func CreatePackage

func CreatePackage(APIClient *types.APIClientOptions, importPath string, importOptions types.ImportPackageOptions) error

CreatePackage imports a Package

func DeleteAction

func DeleteAction(APIClient *types.APIClientOptions, id string) (bool, error)

DeleteAction - deletes an Action by ID

func DeleteCategory

func DeleteCategory(APIClient *types.APIClientOptions, categoryID string) error

DeleteCategory - deletes a category

func DeletePackage

func DeletePackage(APIClient *types.APIClientOptions, packageID string, packageDeleteOption string) error

DeletePackage - deletes a package

func DeleteWorkflow

func DeleteWorkflow(APIClient *types.APIClientOptions, id string) (bool, error)

DeleteWorkflow - deletes an Workflow by ID

func ExportAction

func ExportAction(APIClient *types.APIClientOptions, id string, name string, path string) error

ExportAction - exports a action

func ExportPackage

func ExportPackage(APIClient *types.APIClientOptions, name string, options types.ExportPackageOptions, exportPath string) error

ExportPackage exports a package

func ExportWorkflow

func ExportWorkflow(APIClient *types.APIClientOptions, id string, name string, path string) error

ExportWorkflow - exports a workflow

func GetAction

func GetAction(APIClient *types.APIClientOptions, id string, category string, name string) ([]*types.WsAction, error)

GetAction - returns a list of executions

func GetCategory

func GetCategory(APIClient *types.APIClientOptions, root bool, categoryType string) ([]*types.WsCategory, error)

GetCategory returns the categories

func GetCategoryByID

func GetCategoryByID(APIClient *types.APIClientOptions, id string) (*types.WsCategory, error)

GetCategoryByID returns the category by ID

func GetCategoryByName

func GetCategoryByName(APIClient *types.APIClientOptions, categoryName string, categoryType string) ([]*types.WsCategory, error)

GetCategoryByName returns the category by name

func GetPackage

func GetPackage(APIClient *types.APIClientOptions, name string) ([]*types.WsPackage, error)

GetPackage returns all packages

func GetPackageDetails

func GetPackageDetails(APIClient *types.APIClientOptions, importPath string, importOptions types.ImportPackageOptions) (*types.ImportPackageDetails, error)

GetPackageDetails imports a Package and returns the import details

func GetWorkflow

func GetWorkflow(APIClient *types.APIClientOptions, id string, category string, name string) ([]*types.WsWorkflow, error)

GetWorkflow - returns a list of executions

func ImportAction

func ImportAction(APIClient *types.APIClientOptions, path string, categoryName string) error

ImportAction - imports a action

func ImportWorkflow

func ImportWorkflow(APIClient *types.APIClientOptions, path string, categoryID string) error

ImportWorkflow - imports a workflow

func UpdateCategory

func UpdateCategory(APIClient *types.APIClientOptions, categoryID string, categoryName string, parentCategoryID string) (*types.WsCategory, error)

UpdateCategory updates a category

Types

This section is empty.

Jump to

Keyboard shortcuts

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