-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsecrassets_DockerImageAssetInvalidationOptions.go
38 lines (35 loc) · 1.54 KB
/
awsecrassets_DockerImageAssetInvalidationOptions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package awsecrassets
// Options to control invalidation of `DockerImageAsset` asset hashes.
//
// Example:
// import "github.com/aws/aws-cdk-go/awscdk"
//
//
// asset := awscdk.NewDockerImageAsset(this, jsii.String("MyBuildImage"), &dockerImageAssetProps{
// directory: path.join(__dirname, jsii.String("my-image")),
// buildArgs: map[string]*string{
// "HTTP_PROXY": jsii.String("http://10.20.30.2:1234"),
// },
// invalidation: &dockerImageAssetInvalidationOptions{
// buildArgs: jsii.Boolean(false),
// },
// })
//
type DockerImageAssetInvalidationOptions struct {
// Use `buildArgs` while calculating the asset hash.
BuildArgs *bool `field:"optional" json:"buildArgs" yaml:"buildArgs"`
// Use `extraHash` while calculating the asset hash.
ExtraHash *bool `field:"optional" json:"extraHash" yaml:"extraHash"`
// Use `file` while calculating the asset hash.
File *bool `field:"optional" json:"file" yaml:"file"`
// Use `networkMode` while calculating the asset hash.
NetworkMode *bool `field:"optional" json:"networkMode" yaml:"networkMode"`
// Use `outputs` while calculating the asset hash.
Outputs *bool `field:"optional" json:"outputs" yaml:"outputs"`
// Use `platform` while calculating the asset hash.
Platform *bool `field:"optional" json:"platform" yaml:"platform"`
// Use `repositoryName` while calculating the asset hash.
RepositoryName *bool `field:"optional" json:"repositoryName" yaml:"repositoryName"`
// Use `target` while calculating the asset hash.
Target *bool `field:"optional" json:"target" yaml:"target"`
}