Documentation ¶
Index ¶
- type BowerSpecificities
- type CacheConfig
- type CocoaPodsSpecificities
- type ComposerSpecificities
- type Enablement
- type LocalRepoYAML
- func SetYAMLForCargoLocal(repo *services.CargoLocalRepositoryParams) LocalRepoYAML
- func SetYAMLForDebianLocal(repo *services.DebianLocalRepositoryParams) LocalRepoYAML
- func SetYAMLForDockerLocal(repo *services.DockerLocalRepositoryParams) LocalRepoYAML
- func SetYAMLForJavaLocal(repo *services.MavenLocalRepositoryParams) LocalRepoYAML
- func SetYAMLForLocal(repo *services.LocalRepositoryBaseParams) LocalRepoYAML
- func SetYAMLForNugetLocal(repo *services.NugetLocalRepositoryParams) LocalRepoYAML
- func SetYAMLForRpmLocal(repo *services.RpmLocalRepositoryParams) LocalRepoYAML
- type NpmSpecificities
- type NugetSpecificities
- type P2Specificities
- type RemoteProvider
- type RemoteRepoYAML
- func SetYAMLForBowerRemote(repo *services.BowerRemoteRepositoryParams) RemoteRepoYAML
- func SetYAMLForComposerRemote(repo *services.ComposerRemoteRepositoryParams) RemoteRepoYAML
- func SetYAMLForDockerRemote(repo *services.DockerRemoteRepositoryParams) RemoteRepoYAML
- func SetYAMLForJavaRemote(repo *services.MavenRemoteRepositoryParams) RemoteRepoYAML
- func SetYAMLForNugetRemote(repo *services.NugetRemoteRepositoryParams) RemoteRepoYAML
- func SetYAMLRemote(repo *services.RemoteRepositoryBaseParams) RemoteRepoYAML
- type VcsSpecificities
- type VirtualRepoYAML
- func SetYAMLForDockerVirtual(repo *services.DockerVirtualRepositoryParams) VirtualRepoYAML
- func SetYAMLForJavaVirtual(repo *services.MavenVirtualRepositoryParams) VirtualRepoYAML
- func SetYAMLForNpmVirtual(repo *services.NpmVirtualRepositoryParams) VirtualRepoYAML
- func SetYAMLForNugetVirtual(repo *services.NugetVirtualRepositoryParams) VirtualRepoYAML
- func SetYAMLForP2Virtual(repo *services.P2VirtualRepositoryParams) VirtualRepoYAML
- func SetYAMLForVirtual(repo *services.VirtualRepositoryBaseParams) VirtualRepoYAML
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BowerSpecificities ¶
type BowerSpecificities struct {
BowerRegistryUrl string `yaml:"bowerRegistryUrl"`
}
type CacheConfig ¶
type CacheConfig struct {
VirtualRetrievalCachePeriodSecs int `yaml:"virtualRetrievalCachePeriodSecs"` // default 600
}
type CocoaPodsSpecificities ¶
type CocoaPodsSpecificities struct { CocoaPodsSpecsRepoUrl string `yaml:"cocoaPodsSpecsRepoUrl"` SpecRepoProvider RemoteProvider `yaml:"specRepoProvider"` }
type ComposerSpecificities ¶
type ComposerSpecificities struct {
ComposerRegistryUrl string `yaml:"composerRegistryUrl"`
}
type Enablement ¶
type Enablement struct {
Enabled bool `yaml:"enabled"`
}
type LocalRepoYAML ¶
type LocalRepoYAML struct { ArchiveBrowsingEnabled bool `yaml:"archiveBrowsingEnabled"` BlackedOut bool `yaml:"blackedOut"` BlockPushingSchema1 bool `yaml:"blockPushingSchema1,omitempty"` CalculateYumMetadata bool `yaml:"calculateYumMetadata,omitempty"` CargoAnonymousAccess bool `yaml:"cargoAnonymousAccess,omitempty"` ChecksumPolicyType string `yaml:"checksumPolicyType,omitempty"` DdebSupported bool `yaml:"ddebSupported,omitempty"` DebianTrivialLayout bool `yaml:"debianTrivialLayout,omitempty"` Description string `yaml:"description"` DockerApiVersion string `yaml:"dockerApiVersion,omitempty"` DockerTagRetention int `yaml:"dockerTagRetention,omitempty"` DownloadRedirect Enablement `yaml:"downloadRedirect"` ExcludesPattern string `yaml:"excludesPattern"` ForceNugetAuthentication bool `yaml:"forceNugetAuthentication,omitempty"` HandleReleases bool `yaml:"handleReleases,omitempty"` HandleSnapshots bool `yaml:"handleSnapshots,omitempty"` IncludesPattern string `yaml:"includesPattern"` MaxUniqueSnapshots int `yaml:"maxUniqueSnapshots,omitempty"` MaxUniqueTags int `yaml:"maxUniqueTags,omitempty"` Notes string `yaml:"notes"` PriorityResolution bool `yaml:"priorityResolution"` PropertySets []string `yaml:"propertySets"` RepoLayout string `yaml:"repoLayout"` SnapshotVersionBehavior string `yaml:"snapshotVersionBehavior,omitempty"` SuppressPomConsistencyChecks bool `yaml:"suppressPomConsistencyChecks,omitempty"` Type string `yaml:"type"` // PackageType Xray Enablement `yaml:"xray"` YumRootDepth int `yaml:"yumRootDepth,omitempty"` }
func SetYAMLForCargoLocal ¶
func SetYAMLForCargoLocal(repo *services.CargoLocalRepositoryParams) LocalRepoYAML
func SetYAMLForDebianLocal ¶
func SetYAMLForDebianLocal(repo *services.DebianLocalRepositoryParams) LocalRepoYAML
func SetYAMLForDockerLocal ¶
func SetYAMLForDockerLocal(repo *services.DockerLocalRepositoryParams) LocalRepoYAML
func SetYAMLForJavaLocal ¶
func SetYAMLForJavaLocal(repo *services.MavenLocalRepositoryParams) LocalRepoYAML
func SetYAMLForLocal ¶
func SetYAMLForLocal(repo *services.LocalRepositoryBaseParams) LocalRepoYAML
func SetYAMLForNugetLocal ¶
func SetYAMLForNugetLocal(repo *services.NugetLocalRepositoryParams) LocalRepoYAML
func SetYAMLForRpmLocal ¶
func SetYAMLForRpmLocal(repo *services.RpmLocalRepositoryParams) LocalRepoYAML
type NpmSpecificities ¶
type NugetSpecificities ¶
type P2Specificities ¶
type P2Specificities struct {
Urls []string `yaml:"urls"`
}
type RemoteProvider ¶
type RemoteProvider struct { Provider string `yaml:"provider"` DownloadUrl string `yaml:"downloadUrl"` }
//////////////// CUSTOM TYPES
type RemoteRepoYAML ¶
type RemoteRepoYAML struct { AllowAnyHostAuth bool `yaml:"allowAnyHostAuth"` AssumedOfflinePeriodSecs int `yaml:"assumedOfflinePeriodSecs"` // default : 300 BlackedOut bool `yaml:"blackedOut"` BlockMismatchingMimeTypes bool `yaml:"blockMismatchingMimeTypes"` // default : true Bower BowerSpecificities `yaml:"bower,omitempty"` BypassHeadRequests bool `yaml:"bypassHeadRequests"` ClientTlsCertificate string `yaml:"clientTlsCertificate"` CocoaPods CocoaPodsSpecificities `yaml:"cocoaPods,omitempty"` Composer ComposerSpecificities `yaml:"composer,omitempty"` Description string `yaml:"description"` DockerApiVersion string `yaml:"dockerApiVersion,omitempty"` DownloadRedirect Enablement `yaml:"downloadRedirect"` EnableCookieManagement bool `yaml:"enableCookieManagement"` EnableTokenAuthentication bool `yaml:"enableTokenAuthentication"` ExcludesPattern string `yaml:"excludesPattern"` FetchJarsEagerly bool `yaml:"fetchJarsEagerly,omitempty"` FetchSourcesEagerly bool `yaml:"fetchSourcesEagerly,omitempty"` ForceNugetAuthentication bool `yaml:"forceNugetAuthentication,omitempty"` HandleReleases bool `yaml:"handleReleases,omitempty"` HandleSnapshots bool `yaml:"handleSnapshots,omitempty"` IncludesPattern string `yaml:"includesPattern"` ListRemoteFolderItems bool `yaml:"listRemoteFolderItems"` // default : true MaxUniqueSnapshots int `yaml:"maxUniqueSnapshots,omitempty"` MaxUniqueTags int `yaml:"maxUniqueTags,omitempty"` MismatchingMimeTypesOverrideList string `yaml:"mismatchingMimeTypesOverrideList"` MissedRetrievalCachePeriodSecs int `yaml:"missedRetrievalCachePeriodSecs"` // default : 1800 Notes string `yaml:"notes"` Nuget NugetSpecificities `yaml:"nuget,omitempty"` Offline bool `yaml:"offline"` Proxy string `yaml:"proxy"` Password string `yaml:"password"` // remote URL PropertySets []string `yaml:"propertySets"` QueryParams string `yaml:"queryParams"` RemoteRepoChecksumPolicyType string `yaml:"remoteRepoChecksumPolicyType,omitempty"` RepoLayout string `yaml:"repoLayout"` SocketTimeoutMillis int `yaml:"socketTimeoutMillis"` // default : 15000 SynchronizeProperties bool `yaml:"synchronizeProperties"` Type string `yaml:"type"` // PackageType Url string `yaml:"url"` // remote URL UnusedArtifactsCleanupPeriodHours int `yaml:"unusedArtifactsCleanupPeriodHours"` Username string `yaml:"username"` Vcs VcsSpecificities `yaml:"vcs,omitempty"` Xray Enablement `yaml:"xray,omitempty"` }
func SetYAMLForBowerRemote ¶
func SetYAMLForBowerRemote(repo *services.BowerRemoteRepositoryParams) RemoteRepoYAML
func SetYAMLForComposerRemote ¶
func SetYAMLForComposerRemote(repo *services.ComposerRemoteRepositoryParams) RemoteRepoYAML
func SetYAMLForDockerRemote ¶
func SetYAMLForDockerRemote(repo *services.DockerRemoteRepositoryParams) RemoteRepoYAML
func SetYAMLForJavaRemote ¶
func SetYAMLForJavaRemote(repo *services.MavenRemoteRepositoryParams) RemoteRepoYAML
func SetYAMLForNugetRemote ¶
func SetYAMLForNugetRemote(repo *services.NugetRemoteRepositoryParams) RemoteRepoYAML
func SetYAMLRemote ¶
func SetYAMLRemote(repo *services.RemoteRepositoryBaseParams) RemoteRepoYAML
type VcsSpecificities ¶
type VcsSpecificities struct { Type string `yaml:"type"` // default git // contains filtered or unexported fields }
type VirtualRepoYAML ¶
type VirtualRepoYAML struct { Cache CacheConfig `yaml:"virtualCacheConfig,omitempty"` CanRetrieveRemoteArtifacts bool `yaml:"artifactoryRequestsCanRetrieveRemoteArtifacts"` Description string `yaml:"description"` DockerApiVersion string `yaml:"dockerApiVersion,omitempty"` ExcludesPattern string `yaml:"excludesPattern"` ExternalDependencies NpmSpecificities `yaml:"externalDependencies,omitempty"` ForceNugetAuthentication bool `yaml:"forceNugetAuthentication,omitempty"` HandleReleases bool `yaml:"handleReleases,omitempty"` HandleSnapshots bool `yaml:"handleSnapshots,omitempty"` IncludesPattern string `yaml:"includesPattern"` KeyPair string `yaml:"keyPair,omitempty"` PomRepositoryReferencesCleanupPolicy string `yaml:"PomRepositoryReferencesCleanupPolicy,omitempty"` Repositories []string `yaml:"repositories"` Notes string `yaml:"notes"` P2 P2Specificities `yaml:"p2,omitempty"` RepoLayout string `yaml:"repoLayout"` Type string `yaml:"type"` // PackageType }
func SetYAMLForDockerVirtual ¶
func SetYAMLForDockerVirtual(repo *services.DockerVirtualRepositoryParams) VirtualRepoYAML
func SetYAMLForJavaVirtual ¶
func SetYAMLForJavaVirtual(repo *services.MavenVirtualRepositoryParams) VirtualRepoYAML
func SetYAMLForNpmVirtual ¶
func SetYAMLForNpmVirtual(repo *services.NpmVirtualRepositoryParams) VirtualRepoYAML
func SetYAMLForNugetVirtual ¶
func SetYAMLForNugetVirtual(repo *services.NugetVirtualRepositoryParams) VirtualRepoYAML
func SetYAMLForP2Virtual ¶
func SetYAMLForP2Virtual(repo *services.P2VirtualRepositoryParams) VirtualRepoYAML
func SetYAMLForVirtual ¶
func SetYAMLForVirtual(repo *services.VirtualRepositoryBaseParams) VirtualRepoYAML
Click to show internal directories.
Click to hide internal directories.