Skip to content

Commit

Permalink
Merge pull request #8 from KierranM/v2
Browse files Browse the repository at this point in the history
Add nuget configuration to V1 RemoteRepository
  • Loading branch information
dillon-giacoppo authored Mar 27, 2019
2 parents 0f43e30 + c7136da commit fce1909
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions artifactory/v1/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ type ContentSynchronisation struct {
Source *Source `json:"source,omitempty"`
}

type Nuget struct {
FeedContextPath *string `json:"feedContextPath,omitempty"`
DownloadContextPath *string `json:"downloadContextPath,omitempty"`
V3FeedUrl *string `json:"v3FeedUrl,omitempty"`
}

type RemoteRepository struct {
Key *string `json:"key,omitempty"`
RClass *string `json:"rclass,omitempty"` // Mandatory element in create/replace queries (optional in "update" queries)
Expand Down Expand Up @@ -201,6 +207,7 @@ type RemoteRepository struct {
MaxUniqueTags *int `json:"maxUniqueTags,omitempty"`
MismatchingMimeTypesOverrideList *string `json:"mismatchingMimeTypesOverrideList,omitempty"`
MissedRetrievalCachePeriodSecs *int `json:"missedRetrievalCachePeriodSecs,omitempty"`
Nuget *Nuget `json:"nuget,omitempty"`
Offline *bool `json:"offline,omitempty"`
Password *string `json:"password,omitempty"`
PropagateQueryParams *bool `json:"propagateQueryParams,omitempty"`
Expand Down

0 comments on commit fce1909

Please sign in to comment.