generated from pulumi/pulumi-tf-provider-boilerplate
/
remoteSbtRepository.go
667 lines (621 loc) · 50.3 KB
/
remoteSbtRepository.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package artifactory
import (
"context"
"reflect"
"github.com/pkg/errors"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
// ## # Artifactory Remote SBT Repository Resource
//
// Provides an Artifactory remote `sbt` repository resource.
// Official documentation can be found [here](https://www.jfrog.com/confluence/display/JFROG/Remote+Repositories).
//
// ## Example Usage
//
// Includes only new and relevant fields, for anything else, see: generic repo.
// ```go
// package main
//
// import (
// "github.com/pulumi/pulumi-artifactory/sdk/v2/go/artifactory"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
// )
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// _, err := artifactory.NewRemoteSbtRepository(ctx, "sbt-remote", &artifactory.RemoteSbtRepositoryArgs{
// FetchJarsEagerly: pulumi.Bool(true),
// FetchSourcesEagerly: pulumi.Bool(false),
// Key: pulumi.String("sbt-remote-foo"),
// RejectInvalidJars: pulumi.Bool(true),
// SuppressPomConsistencyChecks: pulumi.Bool(true),
// Url: pulumi.String("https://repo1.maven.org/maven2/"),
// })
// if err != nil {
// return err
// }
// return nil
// })
// }
// ```
type RemoteSbtRepository struct {
pulumi.CustomResourceState
// Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
AllowAnyHostAuth pulumi.BoolOutput `pulumi:"allowAnyHostAuth"`
// The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline. Default to 300.
AssumedOfflinePeriodSecs pulumi.IntPtrOutput `pulumi:"assumedOfflinePeriodSecs"`
// (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"`
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BlockMismatchingMimeTypes pulumi.BoolOutput `pulumi:"blockMismatchingMimeTypes"`
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BypassHeadRequests pulumi.BoolOutput `pulumi:"bypassHeadRequests"`
ClientTlsCertificate pulumi.StringOutput `pulumi:"clientTlsCertificate"`
// Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
ContentSynchronisation RemoteSbtRepositoryContentSynchronisationOutput `pulumi:"contentSynchronisation"`
Description pulumi.StringOutput `pulumi:"description"`
// Enables cookie management if the remote repository uses cookies to manage client state.
EnableCookieManagement pulumi.BoolOutput `pulumi:"enableCookieManagement"`
// List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no artifacts are excluded.
ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"`
// This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
//
// Deprecated: This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
FailedRetrievalCachePeriodSecs pulumi.IntOutput `pulumi:"failedRetrievalCachePeriodSecs"`
// - When set, if a POM is requested, Artifactory attempts to fetch the corresponding jar in the background. This will accelerate first access time to the jar when it is subsequently requested.
FetchJarsEagerly pulumi.BoolPtrOutput `pulumi:"fetchJarsEagerly"`
// - When set, if a binaries jar is requested, Artifactory attempts to fetch the corresponding source jar in the background. This will accelerate first access time to the source jar when it is subsequently requested.
FetchSourcesEagerly pulumi.BoolPtrOutput `pulumi:"fetchSourcesEagerly"`
// - If set, Artifactory allows you to deploy release artifacts into this repository.
HandleReleases pulumi.BoolPtrOutput `pulumi:"handleReleases"`
// - If set, Artifactory allows you to deploy snapshot artifacts into this repository.
HandleSnapshots pulumi.BoolPtrOutput `pulumi:"handleSnapshots"`
// When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
HardFail pulumi.BoolOutput `pulumi:"hardFail"`
// List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"`
// The repository identifier. Must be unique system-wide
Key pulumi.StringOutput `pulumi:"key"`
// - Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. This field exists in the API but not in the UI.
ListRemoteFolderItems pulumi.BoolPtrOutput `pulumi:"listRemoteFolderItems"`
// The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
LocalAddress pulumi.StringPtrOutput `pulumi:"localAddress"`
// (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg:
// "application/json,application/xml". Default value is empty.
MismatchingMimeTypesOverrideList pulumi.StringPtrOutput `pulumi:"mismatchingMimeTypesOverrideList"`
// The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
MissedCachePeriodSeconds pulumi.IntOutput `pulumi:"missedCachePeriodSeconds"`
Notes pulumi.StringPtrOutput `pulumi:"notes"`
// If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
Offline pulumi.BoolOutput `pulumi:"offline"`
PackageType pulumi.StringOutput `pulumi:"packageType"`
Password pulumi.StringPtrOutput `pulumi:"password"`
// Setting repositories with priority will cause metadata to be merged only from repositories set with this field
PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"`
// Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"`
// Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"`
// When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
PropagateQueryParams pulumi.BoolPtrOutput `pulumi:"propagateQueryParams"`
// List of property set name
PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"`
Proxy pulumi.StringOutput `pulumi:"proxy"`
// - Reject the caching of jar files that are found to be invalid. For example, pseudo jars retrieved behind a "captive portal".
RejectInvalidJars pulumi.BoolPtrOutput `pulumi:"rejectInvalidJars"`
// - Checking the Checksum effectively verifies the integrity of a deployed resource. The Checksum Policy determines how the system behaves when a client checksum for a remote resource is missing or conflicts with the locally calculated checksum. Available policies are 'generate-if-absent', 'fail', 'ignore-and-generate', and 'pass-thru'.
RemoteRepoChecksumPolicyType pulumi.StringPtrOutput `pulumi:"remoteRepoChecksumPolicyType"`
// Repository layout key for the remote layout mapping
RemoteRepoLayoutRef pulumi.StringOutput `pulumi:"remoteRepoLayoutRef"`
// Repository layout key for the remote repository
RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"`
// The metadataRetrievalTimeoutSecs field not allowed to be bigger then retrievalCachePeriodSecs field.
RetrievalCachePeriodSeconds pulumi.IntOutput `pulumi:"retrievalCachePeriodSeconds"`
ShareConfiguration pulumi.BoolOutput `pulumi:"shareConfiguration"`
// Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
SocketTimeoutMillis pulumi.IntOutput `pulumi:"socketTimeoutMillis"`
// When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
StoreArtifactsLocally pulumi.BoolOutput `pulumi:"storeArtifactsLocally"`
// - By default, the system keeps your repositories healthy by refusing POMs with incorrect coordinates (path). If the groupId:artifactId:version information inside the POM does not match the deployed path, Artifactory rejects the deployment with a "409 Conflict" error. You can disable this behavior by setting this attribute to 'true'.
SuppressPomConsistencyChecks pulumi.BoolPtrOutput `pulumi:"suppressPomConsistencyChecks"`
// When set, remote artifacts are fetched along with their properties.
SynchronizeProperties pulumi.BoolOutput `pulumi:"synchronizeProperties"`
UnusedArtifactsCleanupPeriodEnabled pulumi.BoolOutput `pulumi:"unusedArtifactsCleanupPeriodEnabled"`
// The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
UnusedArtifactsCleanupPeriodHours pulumi.IntOutput `pulumi:"unusedArtifactsCleanupPeriodHours"`
// - the remote repo URL. You kinda don't have a remote repo without it
Url pulumi.StringOutput `pulumi:"url"`
Username pulumi.StringPtrOutput `pulumi:"username"`
// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"`
}
// NewRemoteSbtRepository registers a new resource with the given unique name, arguments, and options.
func NewRemoteSbtRepository(ctx *pulumi.Context,
name string, args *RemoteSbtRepositoryArgs, opts ...pulumi.ResourceOption) (*RemoteSbtRepository, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.Key == nil {
return nil, errors.New("invalid value for required argument 'Key'")
}
if args.Url == nil {
return nil, errors.New("invalid value for required argument 'Url'")
}
var resource RemoteSbtRepository
err := ctx.RegisterResource("artifactory:index/remoteSbtRepository:RemoteSbtRepository", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetRemoteSbtRepository gets an existing RemoteSbtRepository resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetRemoteSbtRepository(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *RemoteSbtRepositoryState, opts ...pulumi.ResourceOption) (*RemoteSbtRepository, error) {
var resource RemoteSbtRepository
err := ctx.ReadResource("artifactory:index/remoteSbtRepository:RemoteSbtRepository", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering RemoteSbtRepository resources.
type remoteSbtRepositoryState struct {
// Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
AllowAnyHostAuth *bool `pulumi:"allowAnyHostAuth"`
// The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline. Default to 300.
AssumedOfflinePeriodSecs *int `pulumi:"assumedOfflinePeriodSecs"`
// (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
BlackedOut *bool `pulumi:"blackedOut"`
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BlockMismatchingMimeTypes *bool `pulumi:"blockMismatchingMimeTypes"`
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BypassHeadRequests *bool `pulumi:"bypassHeadRequests"`
ClientTlsCertificate *string `pulumi:"clientTlsCertificate"`
// Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
ContentSynchronisation *RemoteSbtRepositoryContentSynchronisation `pulumi:"contentSynchronisation"`
Description *string `pulumi:"description"`
// Enables cookie management if the remote repository uses cookies to manage client state.
EnableCookieManagement *bool `pulumi:"enableCookieManagement"`
// List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no artifacts are excluded.
ExcludesPattern *string `pulumi:"excludesPattern"`
// This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
//
// Deprecated: This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
FailedRetrievalCachePeriodSecs *int `pulumi:"failedRetrievalCachePeriodSecs"`
// - When set, if a POM is requested, Artifactory attempts to fetch the corresponding jar in the background. This will accelerate first access time to the jar when it is subsequently requested.
FetchJarsEagerly *bool `pulumi:"fetchJarsEagerly"`
// - When set, if a binaries jar is requested, Artifactory attempts to fetch the corresponding source jar in the background. This will accelerate first access time to the source jar when it is subsequently requested.
FetchSourcesEagerly *bool `pulumi:"fetchSourcesEagerly"`
// - If set, Artifactory allows you to deploy release artifacts into this repository.
HandleReleases *bool `pulumi:"handleReleases"`
// - If set, Artifactory allows you to deploy snapshot artifacts into this repository.
HandleSnapshots *bool `pulumi:"handleSnapshots"`
// When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
HardFail *bool `pulumi:"hardFail"`
// List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
IncludesPattern *string `pulumi:"includesPattern"`
// The repository identifier. Must be unique system-wide
Key *string `pulumi:"key"`
// - Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. This field exists in the API but not in the UI.
ListRemoteFolderItems *bool `pulumi:"listRemoteFolderItems"`
// The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
LocalAddress *string `pulumi:"localAddress"`
// (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg:
// "application/json,application/xml". Default value is empty.
MismatchingMimeTypesOverrideList *string `pulumi:"mismatchingMimeTypesOverrideList"`
// The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
MissedCachePeriodSeconds *int `pulumi:"missedCachePeriodSeconds"`
Notes *string `pulumi:"notes"`
// If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
Offline *bool `pulumi:"offline"`
PackageType *string `pulumi:"packageType"`
Password *string `pulumi:"password"`
// Setting repositories with priority will cause metadata to be merged only from repositories set with this field
PriorityResolution *bool `pulumi:"priorityResolution"`
// Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
ProjectEnvironments []string `pulumi:"projectEnvironments"`
// Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
ProjectKey *string `pulumi:"projectKey"`
// When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
PropagateQueryParams *bool `pulumi:"propagateQueryParams"`
// List of property set name
PropertySets []string `pulumi:"propertySets"`
Proxy *string `pulumi:"proxy"`
// - Reject the caching of jar files that are found to be invalid. For example, pseudo jars retrieved behind a "captive portal".
RejectInvalidJars *bool `pulumi:"rejectInvalidJars"`
// - Checking the Checksum effectively verifies the integrity of a deployed resource. The Checksum Policy determines how the system behaves when a client checksum for a remote resource is missing or conflicts with the locally calculated checksum. Available policies are 'generate-if-absent', 'fail', 'ignore-and-generate', and 'pass-thru'.
RemoteRepoChecksumPolicyType *string `pulumi:"remoteRepoChecksumPolicyType"`
// Repository layout key for the remote layout mapping
RemoteRepoLayoutRef *string `pulumi:"remoteRepoLayoutRef"`
// Repository layout key for the remote repository
RepoLayoutRef *string `pulumi:"repoLayoutRef"`
// The metadataRetrievalTimeoutSecs field not allowed to be bigger then retrievalCachePeriodSecs field.
RetrievalCachePeriodSeconds *int `pulumi:"retrievalCachePeriodSeconds"`
ShareConfiguration *bool `pulumi:"shareConfiguration"`
// Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
SocketTimeoutMillis *int `pulumi:"socketTimeoutMillis"`
// When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
StoreArtifactsLocally *bool `pulumi:"storeArtifactsLocally"`
// - By default, the system keeps your repositories healthy by refusing POMs with incorrect coordinates (path). If the groupId:artifactId:version information inside the POM does not match the deployed path, Artifactory rejects the deployment with a "409 Conflict" error. You can disable this behavior by setting this attribute to 'true'.
SuppressPomConsistencyChecks *bool `pulumi:"suppressPomConsistencyChecks"`
// When set, remote artifacts are fetched along with their properties.
SynchronizeProperties *bool `pulumi:"synchronizeProperties"`
UnusedArtifactsCleanupPeriodEnabled *bool `pulumi:"unusedArtifactsCleanupPeriodEnabled"`
// The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
UnusedArtifactsCleanupPeriodHours *int `pulumi:"unusedArtifactsCleanupPeriodHours"`
// - the remote repo URL. You kinda don't have a remote repo without it
Url *string `pulumi:"url"`
Username *string `pulumi:"username"`
// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
XrayIndex *bool `pulumi:"xrayIndex"`
}
type RemoteSbtRepositoryState struct {
// Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
AllowAnyHostAuth pulumi.BoolPtrInput
// The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline. Default to 300.
AssumedOfflinePeriodSecs pulumi.IntPtrInput
// (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
BlackedOut pulumi.BoolPtrInput
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BlockMismatchingMimeTypes pulumi.BoolPtrInput
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BypassHeadRequests pulumi.BoolPtrInput
ClientTlsCertificate pulumi.StringPtrInput
// Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
ContentSynchronisation RemoteSbtRepositoryContentSynchronisationPtrInput
Description pulumi.StringPtrInput
// Enables cookie management if the remote repository uses cookies to manage client state.
EnableCookieManagement pulumi.BoolPtrInput
// List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no artifacts are excluded.
ExcludesPattern pulumi.StringPtrInput
// This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
//
// Deprecated: This field is not returned in a get payload but is offered on the UI. It's inserted here for inclusive and informational reasons. It does not function
FailedRetrievalCachePeriodSecs pulumi.IntPtrInput
// - When set, if a POM is requested, Artifactory attempts to fetch the corresponding jar in the background. This will accelerate first access time to the jar when it is subsequently requested.
FetchJarsEagerly pulumi.BoolPtrInput
// - When set, if a binaries jar is requested, Artifactory attempts to fetch the corresponding source jar in the background. This will accelerate first access time to the source jar when it is subsequently requested.
FetchSourcesEagerly pulumi.BoolPtrInput
// - If set, Artifactory allows you to deploy release artifacts into this repository.
HandleReleases pulumi.BoolPtrInput
// - If set, Artifactory allows you to deploy snapshot artifacts into this repository.
HandleSnapshots pulumi.BoolPtrInput
// When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
HardFail pulumi.BoolPtrInput
// List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
IncludesPattern pulumi.StringPtrInput
// The repository identifier. Must be unique system-wide
Key pulumi.StringPtrInput
// - Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. This field exists in the API but not in the UI.
ListRemoteFolderItems pulumi.BoolPtrInput
// The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
LocalAddress pulumi.StringPtrInput
// (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg:
// "application/json,application/xml". Default value is empty.
MismatchingMimeTypesOverrideList pulumi.StringPtrInput
// The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
MissedCachePeriodSeconds pulumi.IntPtrInput
Notes pulumi.StringPtrInput
// If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
Offline pulumi.BoolPtrInput
PackageType pulumi.StringPtrInput
Password pulumi.StringPtrInput
// Setting repositories with priority will cause metadata to be merged only from repositories set with this field
PriorityResolution pulumi.BoolPtrInput
// Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
ProjectEnvironments pulumi.StringArrayInput
// Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
ProjectKey pulumi.StringPtrInput
// When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
PropagateQueryParams pulumi.BoolPtrInput
// List of property set name
PropertySets pulumi.StringArrayInput
Proxy pulumi.StringPtrInput
// - Reject the caching of jar files that are found to be invalid. For example, pseudo jars retrieved behind a "captive portal".
RejectInvalidJars pulumi.BoolPtrInput
// - Checking the Checksum effectively verifies the integrity of a deployed resource. The Checksum Policy determines how the system behaves when a client checksum for a remote resource is missing or conflicts with the locally calculated checksum. Available policies are 'generate-if-absent', 'fail', 'ignore-and-generate', and 'pass-thru'.
RemoteRepoChecksumPolicyType pulumi.StringPtrInput
// Repository layout key for the remote layout mapping
RemoteRepoLayoutRef pulumi.StringPtrInput
// Repository layout key for the remote repository
RepoLayoutRef pulumi.StringPtrInput
// The metadataRetrievalTimeoutSecs field not allowed to be bigger then retrievalCachePeriodSecs field.
RetrievalCachePeriodSeconds pulumi.IntPtrInput
ShareConfiguration pulumi.BoolPtrInput
// Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
SocketTimeoutMillis pulumi.IntPtrInput
// When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
StoreArtifactsLocally pulumi.BoolPtrInput
// - By default, the system keeps your repositories healthy by refusing POMs with incorrect coordinates (path). If the groupId:artifactId:version information inside the POM does not match the deployed path, Artifactory rejects the deployment with a "409 Conflict" error. You can disable this behavior by setting this attribute to 'true'.
SuppressPomConsistencyChecks pulumi.BoolPtrInput
// When set, remote artifacts are fetched along with their properties.
SynchronizeProperties pulumi.BoolPtrInput
UnusedArtifactsCleanupPeriodEnabled pulumi.BoolPtrInput
// The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
UnusedArtifactsCleanupPeriodHours pulumi.IntPtrInput
// - the remote repo URL. You kinda don't have a remote repo without it
Url pulumi.StringPtrInput
Username pulumi.StringPtrInput
// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
XrayIndex pulumi.BoolPtrInput
}
func (RemoteSbtRepositoryState) ElementType() reflect.Type {
return reflect.TypeOf((*remoteSbtRepositoryState)(nil)).Elem()
}
type remoteSbtRepositoryArgs struct {
// Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
AllowAnyHostAuth *bool `pulumi:"allowAnyHostAuth"`
// The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline. Default to 300.
AssumedOfflinePeriodSecs *int `pulumi:"assumedOfflinePeriodSecs"`
// (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
BlackedOut *bool `pulumi:"blackedOut"`
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BlockMismatchingMimeTypes *bool `pulumi:"blockMismatchingMimeTypes"`
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BypassHeadRequests *bool `pulumi:"bypassHeadRequests"`
ClientTlsCertificate *string `pulumi:"clientTlsCertificate"`
// Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
ContentSynchronisation *RemoteSbtRepositoryContentSynchronisation `pulumi:"contentSynchronisation"`
Description *string `pulumi:"description"`
// Enables cookie management if the remote repository uses cookies to manage client state.
EnableCookieManagement *bool `pulumi:"enableCookieManagement"`
// List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no artifacts are excluded.
ExcludesPattern *string `pulumi:"excludesPattern"`
// - When set, if a POM is requested, Artifactory attempts to fetch the corresponding jar in the background. This will accelerate first access time to the jar when it is subsequently requested.
FetchJarsEagerly *bool `pulumi:"fetchJarsEagerly"`
// - When set, if a binaries jar is requested, Artifactory attempts to fetch the corresponding source jar in the background. This will accelerate first access time to the source jar when it is subsequently requested.
FetchSourcesEagerly *bool `pulumi:"fetchSourcesEagerly"`
// - If set, Artifactory allows you to deploy release artifacts into this repository.
HandleReleases *bool `pulumi:"handleReleases"`
// - If set, Artifactory allows you to deploy snapshot artifacts into this repository.
HandleSnapshots *bool `pulumi:"handleSnapshots"`
// When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
HardFail *bool `pulumi:"hardFail"`
// List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
IncludesPattern *string `pulumi:"includesPattern"`
// The repository identifier. Must be unique system-wide
Key string `pulumi:"key"`
// - Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. This field exists in the API but not in the UI.
ListRemoteFolderItems *bool `pulumi:"listRemoteFolderItems"`
// The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
LocalAddress *string `pulumi:"localAddress"`
// (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg:
// "application/json,application/xml". Default value is empty.
MismatchingMimeTypesOverrideList *string `pulumi:"mismatchingMimeTypesOverrideList"`
// The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
MissedCachePeriodSeconds *int `pulumi:"missedCachePeriodSeconds"`
Notes *string `pulumi:"notes"`
// If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
Offline *bool `pulumi:"offline"`
Password *string `pulumi:"password"`
// Setting repositories with priority will cause metadata to be merged only from repositories set with this field
PriorityResolution *bool `pulumi:"priorityResolution"`
// Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
ProjectEnvironments []string `pulumi:"projectEnvironments"`
// Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
ProjectKey *string `pulumi:"projectKey"`
// When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
PropagateQueryParams *bool `pulumi:"propagateQueryParams"`
// List of property set name
PropertySets []string `pulumi:"propertySets"`
Proxy *string `pulumi:"proxy"`
// - Reject the caching of jar files that are found to be invalid. For example, pseudo jars retrieved behind a "captive portal".
RejectInvalidJars *bool `pulumi:"rejectInvalidJars"`
// - Checking the Checksum effectively verifies the integrity of a deployed resource. The Checksum Policy determines how the system behaves when a client checksum for a remote resource is missing or conflicts with the locally calculated checksum. Available policies are 'generate-if-absent', 'fail', 'ignore-and-generate', and 'pass-thru'.
RemoteRepoChecksumPolicyType *string `pulumi:"remoteRepoChecksumPolicyType"`
// Repository layout key for the remote layout mapping
RemoteRepoLayoutRef *string `pulumi:"remoteRepoLayoutRef"`
// Repository layout key for the remote repository
RepoLayoutRef *string `pulumi:"repoLayoutRef"`
// The metadataRetrievalTimeoutSecs field not allowed to be bigger then retrievalCachePeriodSecs field.
RetrievalCachePeriodSeconds *int `pulumi:"retrievalCachePeriodSeconds"`
ShareConfiguration *bool `pulumi:"shareConfiguration"`
// Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
SocketTimeoutMillis *int `pulumi:"socketTimeoutMillis"`
// When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
StoreArtifactsLocally *bool `pulumi:"storeArtifactsLocally"`
// - By default, the system keeps your repositories healthy by refusing POMs with incorrect coordinates (path). If the groupId:artifactId:version information inside the POM does not match the deployed path, Artifactory rejects the deployment with a "409 Conflict" error. You can disable this behavior by setting this attribute to 'true'.
SuppressPomConsistencyChecks *bool `pulumi:"suppressPomConsistencyChecks"`
// When set, remote artifacts are fetched along with their properties.
SynchronizeProperties *bool `pulumi:"synchronizeProperties"`
UnusedArtifactsCleanupPeriodEnabled *bool `pulumi:"unusedArtifactsCleanupPeriodEnabled"`
// The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
UnusedArtifactsCleanupPeriodHours *int `pulumi:"unusedArtifactsCleanupPeriodHours"`
// - the remote repo URL. You kinda don't have a remote repo without it
Url string `pulumi:"url"`
Username *string `pulumi:"username"`
// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
XrayIndex *bool `pulumi:"xrayIndex"`
}
// The set of arguments for constructing a RemoteSbtRepository resource.
type RemoteSbtRepositoryArgs struct {
// Also known as 'Lenient Host Authentication', Allow credentials of this repository to be used on requests redirected to any other host.
AllowAnyHostAuth pulumi.BoolPtrInput
// The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline. Default to 300.
AssumedOfflinePeriodSecs pulumi.IntPtrInput
// (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
BlackedOut pulumi.BoolPtrInput
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BlockMismatchingMimeTypes pulumi.BoolPtrInput
// Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
BypassHeadRequests pulumi.BoolPtrInput
ClientTlsCertificate pulumi.StringPtrInput
// Reference [JFROG Smart Remote Repositories](https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories)
ContentSynchronisation RemoteSbtRepositoryContentSynchronisationPtrInput
Description pulumi.StringPtrInput
// Enables cookie management if the remote repository uses cookies to manage client state.
EnableCookieManagement pulumi.BoolPtrInput
// List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default no artifacts are excluded.
ExcludesPattern pulumi.StringPtrInput
// - When set, if a POM is requested, Artifactory attempts to fetch the corresponding jar in the background. This will accelerate first access time to the jar when it is subsequently requested.
FetchJarsEagerly pulumi.BoolPtrInput
// - When set, if a binaries jar is requested, Artifactory attempts to fetch the corresponding source jar in the background. This will accelerate first access time to the source jar when it is subsequently requested.
FetchSourcesEagerly pulumi.BoolPtrInput
// - If set, Artifactory allows you to deploy release artifacts into this repository.
HandleReleases pulumi.BoolPtrInput
// - If set, Artifactory allows you to deploy snapshot artifacts into this repository.
HandleSnapshots pulumi.BoolPtrInput
// When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
HardFail pulumi.BoolPtrInput
// List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
IncludesPattern pulumi.StringPtrInput
// The repository identifier. Must be unique system-wide
Key pulumi.StringInput
// - Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. This field exists in the API but not in the UI.
ListRemoteFolderItems pulumi.BoolPtrInput
// The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
LocalAddress pulumi.StringPtrInput
// (Optional) The set of mime types that should override the block_mismatching_mime_types setting. Eg:
// "application/json,application/xml". Default value is empty.
MismatchingMimeTypesOverrideList pulumi.StringPtrInput
// The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
MissedCachePeriodSeconds pulumi.IntPtrInput
Notes pulumi.StringPtrInput
// If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
Offline pulumi.BoolPtrInput
Password pulumi.StringPtrInput
// Setting repositories with priority will cause metadata to be merged only from repositories set with this field
PriorityResolution pulumi.BoolPtrInput
// Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
ProjectEnvironments pulumi.StringArrayInput
// Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
ProjectKey pulumi.StringPtrInput
// When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
PropagateQueryParams pulumi.BoolPtrInput
// List of property set name
PropertySets pulumi.StringArrayInput
Proxy pulumi.StringPtrInput
// - Reject the caching of jar files that are found to be invalid. For example, pseudo jars retrieved behind a "captive portal".
RejectInvalidJars pulumi.BoolPtrInput
// - Checking the Checksum effectively verifies the integrity of a deployed resource. The Checksum Policy determines how the system behaves when a client checksum for a remote resource is missing or conflicts with the locally calculated checksum. Available policies are 'generate-if-absent', 'fail', 'ignore-and-generate', and 'pass-thru'.
RemoteRepoChecksumPolicyType pulumi.StringPtrInput
// Repository layout key for the remote layout mapping
RemoteRepoLayoutRef pulumi.StringPtrInput
// Repository layout key for the remote repository
RepoLayoutRef pulumi.StringPtrInput
// The metadataRetrievalTimeoutSecs field not allowed to be bigger then retrievalCachePeriodSecs field.
RetrievalCachePeriodSeconds pulumi.IntPtrInput
ShareConfiguration pulumi.BoolPtrInput
// Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
SocketTimeoutMillis pulumi.IntPtrInput
// When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
StoreArtifactsLocally pulumi.BoolPtrInput
// - By default, the system keeps your repositories healthy by refusing POMs with incorrect coordinates (path). If the groupId:artifactId:version information inside the POM does not match the deployed path, Artifactory rejects the deployment with a "409 Conflict" error. You can disable this behavior by setting this attribute to 'true'.
SuppressPomConsistencyChecks pulumi.BoolPtrInput
// When set, remote artifacts are fetched along with their properties.
SynchronizeProperties pulumi.BoolPtrInput
UnusedArtifactsCleanupPeriodEnabled pulumi.BoolPtrInput
// The number of hours to wait before an artifact is deemed "unused" and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
UnusedArtifactsCleanupPeriodHours pulumi.IntPtrInput
// - the remote repo URL. You kinda don't have a remote repo without it
Url pulumi.StringInput
Username pulumi.StringPtrInput
// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
XrayIndex pulumi.BoolPtrInput
}
func (RemoteSbtRepositoryArgs) ElementType() reflect.Type {
return reflect.TypeOf((*remoteSbtRepositoryArgs)(nil)).Elem()
}
type RemoteSbtRepositoryInput interface {
pulumi.Input
ToRemoteSbtRepositoryOutput() RemoteSbtRepositoryOutput
ToRemoteSbtRepositoryOutputWithContext(ctx context.Context) RemoteSbtRepositoryOutput
}
func (*RemoteSbtRepository) ElementType() reflect.Type {
return reflect.TypeOf((**RemoteSbtRepository)(nil)).Elem()
}
func (i *RemoteSbtRepository) ToRemoteSbtRepositoryOutput() RemoteSbtRepositoryOutput {
return i.ToRemoteSbtRepositoryOutputWithContext(context.Background())
}
func (i *RemoteSbtRepository) ToRemoteSbtRepositoryOutputWithContext(ctx context.Context) RemoteSbtRepositoryOutput {
return pulumi.ToOutputWithContext(ctx, i).(RemoteSbtRepositoryOutput)
}
// RemoteSbtRepositoryArrayInput is an input type that accepts RemoteSbtRepositoryArray and RemoteSbtRepositoryArrayOutput values.
// You can construct a concrete instance of `RemoteSbtRepositoryArrayInput` via:
//
// RemoteSbtRepositoryArray{ RemoteSbtRepositoryArgs{...} }
type RemoteSbtRepositoryArrayInput interface {
pulumi.Input
ToRemoteSbtRepositoryArrayOutput() RemoteSbtRepositoryArrayOutput
ToRemoteSbtRepositoryArrayOutputWithContext(context.Context) RemoteSbtRepositoryArrayOutput
}
type RemoteSbtRepositoryArray []RemoteSbtRepositoryInput
func (RemoteSbtRepositoryArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]*RemoteSbtRepository)(nil)).Elem()
}
func (i RemoteSbtRepositoryArray) ToRemoteSbtRepositoryArrayOutput() RemoteSbtRepositoryArrayOutput {
return i.ToRemoteSbtRepositoryArrayOutputWithContext(context.Background())
}
func (i RemoteSbtRepositoryArray) ToRemoteSbtRepositoryArrayOutputWithContext(ctx context.Context) RemoteSbtRepositoryArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(RemoteSbtRepositoryArrayOutput)
}
// RemoteSbtRepositoryMapInput is an input type that accepts RemoteSbtRepositoryMap and RemoteSbtRepositoryMapOutput values.
// You can construct a concrete instance of `RemoteSbtRepositoryMapInput` via:
//
// RemoteSbtRepositoryMap{ "key": RemoteSbtRepositoryArgs{...} }
type RemoteSbtRepositoryMapInput interface {
pulumi.Input
ToRemoteSbtRepositoryMapOutput() RemoteSbtRepositoryMapOutput
ToRemoteSbtRepositoryMapOutputWithContext(context.Context) RemoteSbtRepositoryMapOutput
}
type RemoteSbtRepositoryMap map[string]RemoteSbtRepositoryInput
func (RemoteSbtRepositoryMap) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*RemoteSbtRepository)(nil)).Elem()
}
func (i RemoteSbtRepositoryMap) ToRemoteSbtRepositoryMapOutput() RemoteSbtRepositoryMapOutput {
return i.ToRemoteSbtRepositoryMapOutputWithContext(context.Background())
}
func (i RemoteSbtRepositoryMap) ToRemoteSbtRepositoryMapOutputWithContext(ctx context.Context) RemoteSbtRepositoryMapOutput {
return pulumi.ToOutputWithContext(ctx, i).(RemoteSbtRepositoryMapOutput)
}
type RemoteSbtRepositoryOutput struct{ *pulumi.OutputState }
func (RemoteSbtRepositoryOutput) ElementType() reflect.Type {
return reflect.TypeOf((**RemoteSbtRepository)(nil)).Elem()
}
func (o RemoteSbtRepositoryOutput) ToRemoteSbtRepositoryOutput() RemoteSbtRepositoryOutput {
return o
}
func (o RemoteSbtRepositoryOutput) ToRemoteSbtRepositoryOutputWithContext(ctx context.Context) RemoteSbtRepositoryOutput {
return o
}
type RemoteSbtRepositoryArrayOutput struct{ *pulumi.OutputState }
func (RemoteSbtRepositoryArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]*RemoteSbtRepository)(nil)).Elem()
}
func (o RemoteSbtRepositoryArrayOutput) ToRemoteSbtRepositoryArrayOutput() RemoteSbtRepositoryArrayOutput {
return o
}
func (o RemoteSbtRepositoryArrayOutput) ToRemoteSbtRepositoryArrayOutputWithContext(ctx context.Context) RemoteSbtRepositoryArrayOutput {
return o
}
func (o RemoteSbtRepositoryArrayOutput) Index(i pulumi.IntInput) RemoteSbtRepositoryOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RemoteSbtRepository {
return vs[0].([]*RemoteSbtRepository)[vs[1].(int)]
}).(RemoteSbtRepositoryOutput)
}
type RemoteSbtRepositoryMapOutput struct{ *pulumi.OutputState }
func (RemoteSbtRepositoryMapOutput) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*RemoteSbtRepository)(nil)).Elem()
}
func (o RemoteSbtRepositoryMapOutput) ToRemoteSbtRepositoryMapOutput() RemoteSbtRepositoryMapOutput {
return o
}
func (o RemoteSbtRepositoryMapOutput) ToRemoteSbtRepositoryMapOutputWithContext(ctx context.Context) RemoteSbtRepositoryMapOutput {
return o
}
func (o RemoteSbtRepositoryMapOutput) MapIndex(k pulumi.StringInput) RemoteSbtRepositoryOutput {
return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RemoteSbtRepository {
return vs[0].(map[string]*RemoteSbtRepository)[vs[1].(string)]
}).(RemoteSbtRepositoryOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*RemoteSbtRepositoryInput)(nil)).Elem(), &RemoteSbtRepository{})
pulumi.RegisterInputType(reflect.TypeOf((*RemoteSbtRepositoryArrayInput)(nil)).Elem(), RemoteSbtRepositoryArray{})
pulumi.RegisterInputType(reflect.TypeOf((*RemoteSbtRepositoryMapInput)(nil)).Elem(), RemoteSbtRepositoryMap{})
pulumi.RegisterOutputType(RemoteSbtRepositoryOutput{})
pulumi.RegisterOutputType(RemoteSbtRepositoryArrayOutput{})
pulumi.RegisterOutputType(RemoteSbtRepositoryMapOutput{})
}