Documentation ¶
Overview ¶
Package types Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package types Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package types Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package types Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Package types Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause
Index ¶
- type APIClientOptions
- type Actions
- type Attribute
- type Attributes
- type Authentication
- type AuthenticationError
- type AuthenticationRequest
- type AuthenticationResponse
- type CatalogItem
- type CatalogItemRequest
- type CatalogItemRequestResponse
- type CatalogItemSchemaProperties
- type CategoryContext
- type CertificateInfo
- type CloudTemplate
- type CloudTemplateInputProperty
- type CloudTemplateInputSchema
- type CloudTemplateRequest
- type Config
- type Configurations
- type ContentsList
- type CreateExecutionRequest
- type CreateExecutionResponse
- type CustomIntegration
- type Deployment
- type DeploymentInput
- type DocumentsList
- type Endpoint
- type EndpointYaml
- type Exception
- type Executions
- type ExportPackageOptions
- type ImportElementDetails
- type ImportPackageDetails
- type ImportPackageOptions
- type InputParameters
- type InventoryItemsList
- type Link
- type OutputParameters
- type PackageLink
- type Pipeline
- type PipelineImportResponse
- type PipelineStage
- type PipelineTask
- type PipelineYaml
- type PolicyTemplates
- type Project
- type ProjectList
- type Relations
- type Resources
- type TokenRequest
- type UsedPlugins
- type UserPreferences
- type VariableRequest
- type VariableResponse
- type Workflows
- type WsAction
- type WsCategory
- type WsCategoryRequest
- type WsPackage
- type WsPackages
- type WsWorkflow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClientOptions ¶
type APIClientOptions struct { Version string Debug bool VerifySSL bool Confirm bool Force bool RESTClient *resty.Client SDKClient *client.MulticloudIaaS Pagination struct { PageSize int Page int Skip int } Config *Config Output string }
APIClientOptions - options for the API client
type Actions ¶
type Actions struct { Attribute []Attribute `json:"attribute"` Href string `json:"href"` Type string `json:"type"` Rel string `json:"rel"` }
Actions is a list of actions
type Attribute ¶
type Attribute struct { DisplayValue string `json:"displayValue"` Value string `json:"value"` Name string `json:"name"` }
Attribute is a name/value pair attribute
type Attributes ¶
Attributes is the name/value pair attributes of a resource
type Authentication ¶
type Authentication struct {
RefreshToken string `json:"refreshToken"`
}
Authentication - vRA Authentication request structure for API login with a refresh token
type AuthenticationError ¶
type AuthenticationError struct { Timestamp int64 `json:"timestamp"` Type string `json:"type"` Status string `json:"status"` Error string `json:"error"` ServerMessage string `json:"serverMessage"` Message string `json:"message"` StatusCode int64 `json:"statusCode"` ErrorCode int64 `json:"errorCode"` ServerErrorID string `json:"serverErrorId"` DocumentKind string `json:"documentKind"` }
AuthenticationError - Authentication error structure
type AuthenticationRequest ¶
type AuthenticationRequest struct { Username string `json:"username"` Password string `json:"password"` Domain string `json:"domain"` }
AuthenticationRequest - vRA Authentication request structure
type AuthenticationResponse ¶
type AuthenticationResponse struct { Scope string `json:"scope"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` IDToken string `json:"id_token"` TokenType string `json:"token_type"` ExpiresIn int `json:"expires_in"` Token string `json:"token"` }
AuthenticationResponse - Authentication response structure
type CatalogItem ¶
type CatalogItem struct { ID string `json:"id"` Name string `json:"name"` Type struct { ID string `json:"id"` Link string `json:"link"` Name string `json:"name"` } `json:"type"` Projects []struct { ID string `json:"id"` Name string `json:"name"` } `json:"projects"` CreatedAt time.Time `json:"createdAt"` CreatedBy string `json:"createdBy"` LastUpdatedAt time.Time `json:"lastUpdatedAt"` LastUpdatedBy string `json:"lastUpdatedBy"` Schema struct { Type string `json:"type"` Properties map[string]CatalogItemSchemaProperties `json:"properties"` } `json:"schema"` BulkRequestLimit int `json:"bulkRequestLimit"` }
CatalogItem - A service broker catalog item
type CatalogItemRequest ¶
type CatalogItemRequest struct { DeploymentName string `json:"deploymentName"` Inputs map[string]string `json:"inputs"` ProjectID string `json:"projectId"` Reason string `json:"reason"` Version string `json:"version"` }
CatalogItemRequest - A service broker catalog item request
type CatalogItemRequestResponse ¶
type CatalogItemRequestResponse struct { DeploymentID string `json:"deploymentId"` DeploymentName string `json:"deploymentName"` }
CatalogItemRequestResponse - A service broker catalog item request response
type CatalogItemSchemaProperties ¶
type CatalogItemSchemaProperties struct { Type string `json:"type"` Title string `json:"title"` Description string `json:"description"` Default string `json:"default"` }
CatalogItemSchemaProperties - A service broker catalog item schema properties
type CategoryContext ¶
type CategoryContext struct { CategoryType string `json:"categoryType"` Description string `json:"description"` Name string `json:"name"` ParentCategoryID string `json:"parentCategoryId"` }
CategoryContext is a category context
type CertificateInfo ¶
type CertificateInfo struct { Organization string `json:"organization"` OrganizationalUnit string `json:"organizationalUnit"` CommonName string `json:"commonName"` ValidUntilDate time.Time `json:"validUntilDate"` ValidFromDate time.Time `json:"validFromDate"` PublicKeyAlgorithm string `json:"publicKeyAlgorithm"` FingerprintSHA1 string `json:"fingerprintSHA1"` SerialNumber string `json:"serialNumber"` }
CertificateInfo is the certificate information of the imported package
type CloudTemplate ¶
type CloudTemplate struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` CreatedBy string `json:"createdBy"` Description string `json:"description"` UpdatedAt time.Time `json:"updatedAt"` UpdatedBy string `json:"updatedBy"` OrgID string `json:"orgId"` ProjectID string `json:"projectId"` ProjectName string `json:"projectName"` SelfLink string `json:"selfLink"` Name string `json:"name"` Status string `json:"status"` Content string `json:"content"` Valid bool `json:"valid"` ValidationMessages []interface{} `json:"validationMessages"` TotalVersions int `json:"totalVersions"` TotalReleasedVersions int `json:"totalReleasedVersions"` RequestScopeOrg bool `json:"requestScopeOrg"` ContentSourceID string `json:"contentSourceId"` ContentSourcePath string `json:"contentSourcePath"` ContentSourceType string `json:"contentSourceType"` ContentSourceSyncStatus string `json:"contentSourceSyncStatus"` ContentSourceSyncMessages []string `json:"contentSourceSyncMessages"` ContentSourceSyncAt time.Time `json:"contentSourceSyncAt"` }
CloudTemplate - Struct
type CloudTemplateInputProperty ¶
type CloudTemplateInputProperty struct { Type string `json:"type"` Encrypted bool `json:"encrypted"` OneOf []struct { Encrypted bool `json:"encrypted"` Computed bool `json:"computed"` RecreateOnUpdate bool `json:"recreateOnUpdate"` IgnoreOnUpdate bool `json:"ignoreOnUpdate"` IgnoreCaseOnDiff bool `json:"ignoreCaseOnDiff"` Title string `json:"title"` Const string `json:"const"` } `json:"oneOf"` Enum []string `json:"enum"` Title string `json:"title"` Default string `json:"default"` Description string `json:"description"` Pattern string `json:"pattern"` MaxLength int `json:"maxLength"` MinLength int `json:"minLength"` }
CloudTemplateInputProperty - Struct
type CloudTemplateInputSchema ¶
type CloudTemplateInputSchema struct { Type string `json:"type"` Encrypted bool `json:"encrypted"` Required []string `json:"required"` Properties map[string]interface{} `json:"properties"` }
CloudTemplateInputSchema - Struct
type CloudTemplateRequest ¶
type CloudTemplateRequest struct { Content string `json:"content"` Description string `json:"description"` Name string `json:"name"` ProjectID string `json:"projectId"` RequestScopeOrg bool `json:"requestScopeOrg"` }
CloudTemplateRequest - Struct
type Config ¶
type Config struct { Name string Domain string Password string Server string Username string APIToken string AccessToken string }
Config - main configuration struct
type Configurations ¶
type Configurations struct { Attribute []Attribute `json:"attribute"` Href string `json:"href"` Type string `json:"type"` Rel string `json:"rel"` }
Configurations is a list of configurations
type ContentsList ¶
type ContentsList struct { Content []interface{} `json:"content"` Pageable struct { Sort struct { Sorted bool `json:"sorted"` Unsorted bool `json:"unsorted"` Empty bool `json:"empty"` } `json:"sort"` PageNumber int `json:"pageNumber"` PageSize int `json:"pageSize"` Offset int `json:"offset"` Paged bool `json:"paged"` Unpaged bool `json:"unpaged"` } `json:"pageable"` TotalElements int `json:"totalElements"` TotalPages int `json:"totalPages"` Last bool `json:"last"` Sort struct { Sorted bool `json:"sorted"` Unsorted bool `json:"unsorted"` Empty bool `json:"empty"` } `json:"sort"` First bool `json:"first"` Number int `json:"number"` NumberOfElements int `json:"numberOfElements"` Size int `json:"size"` Empty bool `json:"empty"` }
ContentsList - Generic Contents List Structure
type CreateExecutionRequest ¶
type CreateExecutionRequest struct { Comments string `json:"comments"` Input interface{} `json:"input"` }
CreateExecutionRequest - Code Stream Create Execution Request
type CreateExecutionResponse ¶
type CreateExecutionResponse struct { Comments string `json:"comments"` Source string `json:"source"` Input interface{} `json:"input"` ExecutionLink string `json:"executionLink"` ExecutionID string `json:"executionId"` Tags []string `json:"tags"` }
CreateExecutionResponse - Code Stream Create Execution Response
type CustomIntegration ¶
type CustomIntegration struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` Version string `json:"version"` CreatedBy string `json:"createdBy"` UpdatedBy string `json:"updatedBy"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` Link string `json:"_link"` UpdateTimeInMicros int64 `json:"_updateTimeInMicros"` CreateTimeInMicros int64 `json:"_createTimeInMicros"` Status string `json:"status"` Yaml string `json:"yaml"` }
CustomIntegration - Code Stream Custom Integration
type Deployment ¶
type Deployment struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` OrgID string `json:"orgId"` BlueprintID string `json:"blueprintId"` CreatedAt time.Time `json:"createdAt"` CreatedBy string `json:"createdBy"` LastUpdatedAt time.Time `json:"lastUpdatedAt"` LastUpdatedBy string `json:"lastUpdatedBy"` Inputs map[string]string `json:"inputs"` ProjectID string `json:"projectId"` Status string `json:"status"` BlueprintVersion string `json:"blueprintVersion"` CatalogItemID string `json:"catalogItemId"` IconID string `json:"iconId"` CatalogItemVersion string `json:"catalogItemVersion"` }
Deployment - Struct
type DeploymentInput ¶
type DeploymentInput struct {
Inputs map[string]interface{} `json:"inputs"`
}
DeploymentInput - Struct
type DocumentsList ¶
type DocumentsList struct { Count int `json:"count"` TotalCount int `json:"totalCount"` Links []string `json:"links"` Documents map[string]interface{} `json:"documents"` }
DocumentsList - Code Stream Documents List structure
type Endpoint ¶
type Endpoint struct { Project string `json:"project"` Kind string `json:"kind"` ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` CreatedBy string `json:"createdBy"` UpdatedBy string `json:"updatedBy"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` Link string `json:"_link"` UpdateTimeInMicros int64 `json:"_updateTimeInMicros"` CreateTimeInMicros int64 `json:"_createTimeInMicros"` ProjectID string `json:"_projectId"` Type string `json:"type"` IsRestricted bool `json:"isRestricted"` Properties interface{} `json:"properties"` IsLocked bool `json:"isLocked"` ValidationOutput string `json:"validationOutput"` }
Endpoint - Code Stream Create Endpoint
type EndpointYaml ¶
type EndpointYaml struct { Project string `yaml:"project"` Kind string `yaml:"kind"` Name string `yaml:"name"` Description string `yaml:"description"` Type string `yaml:"type"` Properties map[string]string `yaml:"properties"` }
EndpointYaml - Code Stream Endpoint YAML
type Exception ¶
type Exception struct { Timestamp int64 `json:"timestamp"` Path string `json:"path"` Status int `json:"status"` Error string `json:"error"` Message string `json:"message"` RequestID string `json:"requestId"` Type string `json:"@type"` StatusCode int `json:"statusCode"` ErrorCode int `json:"errorCode"` ReferenceID interface{} `json:"referenceId"` }
Exception - Generic exception struct
type Executions ¶
type Executions struct { Project string `json:"project"` ID string `json:"id"` Name string `json:"name"` UpdatedAt string `json:"updatedAt"` Link string `json:"_link"` UpdateTimeInMicros int64 `json:"_updateTimeInMicros"` CreateTimeInMicros int64 `json:"_createTimeInMicros"` ProjectID string `json:"_projectId"` Index int `json:"index"` Notifications []interface{} `json:"notifications"` Comments string `json:"comments"` Icon string `json:"icon"` Starred struct { } `json:"starred"` Input interface{} `json:"input"` Output interface{} `json:"output"` StageOrder []interface{} `json:"stageOrder"` Stages interface{} `json:"stages"` Status string `json:"status"` StatusMessage string `json:"statusMessage"` DurationInMicros int `json:"_durationInMicros"` TotalDurationInMicros int `json:"_totalDurationInMicros"` RequestTimeInMicros int64 `json:"_requestTimeInMicros"` ExecutedBy string `json:"_executedBy"` PipelineLink string `json:"_pipelineLink"` Nested bool `json:"_nested"` Rollback bool `json:"_rollback"` InputMeta interface{} `json:"_inputMeta"` OutputMeta interface{} `json:"_outputMeta"` WorkspaceResults []struct { Status string `json:"status"` Step string `json:"step"` Logs []string `json:"logs"` } `json:"workspaceResults"` Tags []string `json:"tags"` }
Executions - Code Stream Execution document structure
type ExportPackageOptions ¶
type ExportPackageOptions struct { ExportConfigurationAttributeValues bool ExportConfigSecureStringAttributeValues bool ExportGlobalTags bool ViewContents bool AddToPackage bool EditContents bool }
ExportPackageOptions represents the options for exporting a package
type ImportElementDetails ¶
type ImportElementDetails struct { ID string `json:"id"` Type string `json:"type"` FileObjectName string `json:"fileObjectName"` FileCategory string `json:"fileCategory"` VersionComparison string `json:"versionComparison"` FileObjectVersion string `json:"fileObjectVersion"` ServerObjectName string `json:"serverObjectName"` ServerCategory string `json:"serverCategory"` ServerObjectVersion string `json:"serverObjectVersion"` ImportIt bool `json:"importIt"` HasTenantConflict bool `json:"hasTenantConflict"` HasNameConflict bool `json:"hasNameConflict"` IsRenamed bool `json:"isRenamed"` }
ImportElementDetails is the details of a package element to import
type ImportPackageDetails ¶
type ImportPackageDetails struct { PackageName string `json:"packageName"` PackageAlreadyExists bool `json:"packageAlreadyExists"` ContentVerified bool `json:"contentVerified"` CertificateInfo CertificateInfo `json:"certificateInfo"` CertificateValid bool `json:"certificateValid"` CertificateTrusted bool `json:"certificateTrusted"` CertificateUnknown bool `json:"certificateUnknown"` ImportElementDetails []ImportElementDetails `json:"importElementDetails"` }
ImportPackageDetails is the details of a package to import
type ImportPackageOptions ¶
type ImportPackageOptions struct { ImportConfigurationAttributeValues bool ImportConfigSecureStringAttributeValues bool TagImportMode string }
ImportPackageOptions represents the options for exporting a package
type InputParameters ¶
type InputParameters struct { Description string `json:"description"` Type string `json:"type"` Name string `json:"name"` }
InputParameters is the input parameters for an action
type InventoryItemsList ¶
type InventoryItemsList struct { Link []struct { Attributes []struct { Value string `json:"value"` Name string `json:"name"` } `json:"attributes"` Href string `json:"href"` Rel string `json:"rel"` } `json:"link"` Total int `json:"total"` }
InventoryItemsList is a list of InventoryItems
type Link ¶
type Link struct { Attributes []Attributes `json:"attributes,omitempty"` Href string `json:"href"` Rel string `json:"rel"` }
Link is a relational link
type OutputParameters ¶
OutputParameters defines the Output Parameters
type PackageLink ¶
type PackageLink struct { Attribute []Attribute `json:"attributes"` Href string `json:"href"` Type string `json:"type"` Rel string `json:"rel"` }
PackageLink is a reference to a package
type Pipeline ¶
type Pipeline struct { Project string `json:"project"` Kind string `json:"kind"` ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` CreatedBy string `json:"createdBy"` UpdatedBy string `json:"updatedBy"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` Link string `json:"_link"` UpdateTimeInMicros int64 `json:"_updateTimeInMicros"` CreateTimeInMicros int64 `json:"_createTimeInMicros"` ProjectID string `json:"_projectId"` Icon string `json:"icon"` Enabled bool `json:"enabled"` Concurrency int `json:"concurrency"` Input interface { } `json:"input"` Output interface { } `json:"output"` Starred struct { } `json:"starred"` StageOrder []string `json:"stageOrder"` Stages map[string]interface{} `json:"stages"` Notifications struct { Email []interface{} `json:"email"` Jira []interface{} `json:"jira"` Webhook []interface{} `json:"webhook"` } `json:"notifications"` Options []interface{} `json:"options"` Workspace struct { Image string `json:"image"` Path string `json:"path"` Endpoint string `json:"endpoint"` Cache []interface{} `json:"cache"` Limits struct { CPU float64 `json:"cpu"` Memory int `json:"memory"` } `json:"limits"` AutoCloneForTrigger bool `json:"autoCloneForTrigger"` } `json:"workspace"` InputMeta interface{} `json:"_inputMeta"` OutputMeta interface{} `json:"_outputMeta"` Warnings []interface{} `json:"_warnings"` Rollbacks []interface{} `json:"rollbacks"` Tags []string `json:"tags"` State string `json:"state"` }
Pipeline - Code Stream Pipeline API
type PipelineImportResponse ¶
type PipelineImportResponse struct { Name string `yaml:"name"` Status string `yaml:"status"` StatusMessage string `yaml:"statusMessage"` }
PipelineImportResponse - Code Stream Pipeline Import Response
type PipelineStage ¶
type PipelineStage struct { Tags []string `json:"tags"` TaskOrder []string `json:"taskOrder"` Tasks map[string]interface{} `json:"tasks"` }
PipelineStage - Code Stream Pipeline Stage API
type PipelineTask ¶
type PipelineTask struct { Configured bool `json:"_configured"` Endpoints map[string]string `json:"endpoints"` IgnoreFailure bool `json:"ignoreFailure"` Input struct { InputProperties map[string]string `json:"inputProperties"` Action string `json:"action"` Blueprint string `json:"blueprint"` Name string `json:"name"` Parameters map[string]string `json:"parameters"` Properties map[string]string `json:"properties"` Pipeline string `json:"pipeline"` } `json:"input"` PreCondition string `json:"preCondition"` Tags []string `json:"tags"` Type string `json:"type"` }
PipelineTask - Code Stream Pipeline Task API
type PipelineYaml ¶
type PipelineYaml struct { Project string `yaml:"project"` Kind string `yaml:"kind"` Name string `yaml:"name"` Icon string `yaml:"icon"` Enabled bool `yaml:"enabled"` Description string `yaml:"description"` Concurrency int `yaml:"concurrency"` Input interface{} `yaml:"input"` InputMeta interface{} `yaml:"_inputMeta"` Workspace interface{} `yaml:"workspace"` StageOrder []string `yaml:"stageOrder"` Stages interface{} `yaml:"stages"` }
PipelineYaml - Code Stream Pipeline YAML
type PolicyTemplates ¶
type PolicyTemplates struct { Attribute []Attribute `json:"attribute"` Href string `json:"href"` Type string `json:"type"` Rel string `json:"rel"` }
PolicyTemplates is a list of policy templates
type Project ¶
type Project struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` OrgID string `json:"orgId"` Administrators []struct { Email string `json:"email"` Type string `json:"type"` } `json:"administrators"` Members []interface{} `json:"members"` Viewers []interface{} `json:"viewers"` Constraints struct { } `json:"constraints"` Properties struct { NamingTemplate string `json:"__namingTemplate"` } `json:"properties"` OperationTimeout int `json:"operationTimeout"` }
Project - Project-Service struct
type ProjectList ¶
type ProjectList struct { Content []Project `json:"content"` Pageable struct { Offset int `json:"offset"` Sort struct { Sorted bool `json:"sorted"` Unsorted bool `json:"unsorted"` Empty bool `json:"empty"` } `json:"sort"` QueryInfo struct { CustomOptions struct { } `json:"customOptions"` Expand []interface{} `json:"expand"` Select []interface{} `json:"select"` Sort struct { Sorted bool `json:"sorted"` Unsorted bool `json:"unsorted"` Empty bool `json:"empty"` } `json:"sort"` } `json:"queryInfo"` PageNumber int `json:"pageNumber"` PageSize int `json:"pageSize"` Paged bool `json:"paged"` Unpaged bool `json:"unpaged"` } `json:"pageable"` Last bool `json:"last"` TotalPages int `json:"totalPages"` TotalElements int `json:"totalElements"` Sort struct { Sorted bool `json:"sorted"` Unsorted bool `json:"unsorted"` Empty bool `json:"empty"` } `json:"sort"` Number int `json:"number"` First bool `json:"first"` NumberOfElements int `json:"numberOfElements"` Size int `json:"size"` Empty bool `json:"empty"` }
ProjectList - Project List
type Resources ¶
type Resources struct { Attribute []Attribute `json:"attribute"` Href string `json:"href"` Type string `json:"type"` Rel string `json:"rel"` }
Resources is a list of resources
type TokenRequest ¶
type TokenRequest struct {
RefreshToken string `json:"refresh_token"`
}
TokenRequest - vRA Authentication request structure
type UsedPlugins ¶
type UsedPlugins struct { Name string `json:"name"` Version string `json:"version"` ServerVersion string `json:"server-version"` }
UsedPlugins is a used plugin definition
type UserPreferences ¶
type UserPreferences struct { Link string `json:"_link"` UpdateTimeInMicros int `json:"_updateTimeInMicros"` CreateTimeInMicros int `json:"_createTimeInMicros"` Preferences interface{} `json:"preferences"` UserName string `json:"userName"` }
UserPreferences -
type VariableRequest ¶
type VariableRequest struct { Project string `json:"project"` Kind string `json:"kind"` Name string `json:"name"` Description string `json:"description"` Type string `json:"type"` Value string `json:"value"` }
VariableRequest - Code Stream API Variable Create Request
type VariableResponse ¶
type VariableResponse struct { Project string `json:"project"` Kind string `json:"kind"` ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` Version string `json:"version"` CreatedBy string `json:"createdBy"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` Link string `json:"_link"` UpdateTimeInMicros int64 `json:"_updateTimeInMicros"` CreateTimeInMicros int64 `json:"_createTimeInMicros"` ProjectID string `json:"_projectId"` Type string `json:"type"` Value string `json:"value"` }
VariableResponse - Code Stream API Variable response
type Workflows ¶
type Workflows struct { Attribute []Attribute `json:"attribute"` Href string `json:"href"` Type string `json:"type"` Rel string `json:"rel"` }
Workflows is a list of workflows
type WsAction ¶
type WsAction struct { Href string `json:"href"` Relations Relations `json:"relations"` ID string `json:"id"` OutputType string `json:"output-type"` Name string `json:"name"` Module string `json:"module"` Description string `json:"description"` Version string `json:"version"` Fqn string `json:"fqn"` Script string `json:"script"` BundleHasContent bool `json:"bundleHasContent"` RuntimeMemoryLimit int `json:"runtimeMemoryLimit"` RuntimeTimeout int `json:"runtimeTimeout"` InputParameters []InputParameters `json:"input-parameters"` }
WsAction is an Orchestrator Action
type WsCategory ¶
type WsCategory struct { Href string `json:"href"` Relations Relations `json:"relations"` ID string `json:"id"` Name string `json:"name"` Path string `json:"path"` PathIds []string `json:"path-ids"` Type string `json:"type"` }
WsCategory is a category
type WsCategoryRequest ¶
type WsCategoryRequest struct { Name string `json:"name"` Type string `json:"type"` ParentCategoryID string `json:"parent-category-id"` }
WsCategoryRequest is a category Request
type WsPackage ¶
type WsPackage struct { Workflows []Workflows `json:"workflows"` Actions []Actions `json:"actions"` Configurations []Configurations `json:"configurations"` Resources []Resources `json:"resources"` PolicyTemplates []PolicyTemplates `json:"policyTemplates"` UsedPlugins []UsedPlugins `json:"usedPlugins"` ID string `json:"id"` Href string `json:"href"` Name string `json:"name"` Description string `json:"description"` }
WsPackage is a package
type WsPackages ¶
type WsPackages struct { Link []PackageLink `json:"link"` Start int `json:"start"` Total int `json:"total"` }
WsPackages is a list of references to packages
type WsWorkflow ¶
type WsWorkflow struct { Href string `json:"href"` Relations Relations `json:"relations"` ID string `json:"id"` CustomizedIcon bool `json:"customized-icon"` Name string `json:"name"` Version string `json:"version"` Description string `json:"description"` CategoryID string `json:"category-id"` InputParameters []InputParameters `json:"input-parameters"` OutputParameters []OutputParameters `json:"output-parameters"` }
WsWorkflow is a workflow