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. |
assembly
Required
- Type: CloudAssembly
id
Required
- Type: *string
manifest
Required
- 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. |
Assembly
Required
func Assembly() CloudAssembly
- Type: CloudAssembly
Id
Required
func Id() *string
- Type: *string
Manifest
Required
func Manifest() ArtifactManifest
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.ArtifactManifest
The artifact's manifest.
Messages
Required
func Messages() *[]SynthesisMessage
- Type: *[]SynthesisMessage
The set of messages extracted from the artifact's metadata.
Dependencies
Optional
func Dependencies() *[]CloudArtifact
- Type: *[]CloudArtifact
Returns all the artifacts that this artifact depends on.