CloudArtifact
Represents an artifact within a cloud assembly.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.NewCloudArtifact(assembly CloudAssembly, id *string, manifest ArtifactManifest) CloudArtifact
| Name | Type | Description |
|---|---|---|
assembly |
CloudAssembly |
No description. |
id |
*string |
No description. |
manifest |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.ArtifactManifest |
No description. |
assemblyRequired
- Type: CloudAssembly
idRequired
- Type: *string
manifestRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.ArtifactManifest
Methods
| Name | Description |
|---|---|
FindMetadataByType |
No description. |
FindMetadataByType
func FindMetadataByType(type *string) *[]MetadataEntryResult
- Type: *string
Static Functions
| Name | Description |
|---|---|
FromManifest |
Returns a subclass of CloudArtifact based on the artifact type defined in the artifact manifest. |
FromManifest
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.CloudArtifact_FromManifest(assembly CloudAssembly, id *string, artifact ArtifactManifest) CloudArtifact
Returns a subclass of CloudArtifact based on the artifact type defined in the artifact manifest.
- Type: CloudAssembly
The cloud assembly from which to load the artifact.
- Type: *string
The artifact ID.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.ArtifactManifest
The artifact manifest.
Properties
| Name | Type | Description |
|---|---|---|
Assembly |
CloudAssembly |
No description. |
Id |
*string |
No description. |
Manifest |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.ArtifactManifest |
The artifact's manifest. |
Messages |
*[]SynthesisMessage |
The set of messages extracted from the artifact's metadata. |
Dependencies |
*[]CloudArtifact |
Returns all the artifacts that this artifact depends on. |
AssemblyRequired
func Assembly() CloudAssembly
- Type: CloudAssembly
IdRequired
func Id() *string
- Type: *string
ManifestRequired
func Manifest() ArtifactManifest
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.ArtifactManifest
The artifact's manifest.
MessagesRequired
func Messages() *[]SynthesisMessage
- Type: *[]SynthesisMessage
The set of messages extracted from the artifact's metadata.
DependenciesOptional
func Dependencies() *[]CloudArtifact
- Type: *[]CloudArtifact
Returns all the artifacts that this artifact depends on.