Skip to content

Commit fce1909

Browse files
Merge pull request #8 from KierranM/v2
Add nuget configuration to V1 RemoteRepository
2 parents 0f43e30 + c7136da commit fce1909

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

artifactory/v1/repositories.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ type ContentSynchronisation struct {
153153
Source *Source `json:"source,omitempty"`
154154
}
155155

156+
type Nuget struct {
157+
FeedContextPath *string `json:"feedContextPath,omitempty"`
158+
DownloadContextPath *string `json:"downloadContextPath,omitempty"`
159+
V3FeedUrl *string `json:"v3FeedUrl,omitempty"`
160+
}
161+
156162
type RemoteRepository struct {
157163
Key *string `json:"key,omitempty"`
158164
RClass *string `json:"rclass,omitempty"` // Mandatory element in create/replace queries (optional in "update" queries)
@@ -201,6 +207,7 @@ type RemoteRepository struct {
201207
MaxUniqueTags *int `json:"maxUniqueTags,omitempty"`
202208
MismatchingMimeTypesOverrideList *string `json:"mismatchingMimeTypesOverrideList,omitempty"`
203209
MissedRetrievalCachePeriodSecs *int `json:"missedRetrievalCachePeriodSecs,omitempty"`
210+
Nuget *Nuget `json:"nuget,omitempty"`
204211
Offline *bool `json:"offline,omitempty"`
205212
Password *string `json:"password,omitempty"`
206213
PropagateQueryParams *bool `json:"propagateQueryParams,omitempty"`

0 commit comments

Comments
 (0)