utils

package
v0.0.0-...-93e1245 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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"`
}

type NpmSpecificities

type NpmSpecificities struct {
	Enabled  bool     `yaml:"enabled"`
	Patterns []string `yaml:"patterns"`
}

type NugetSpecificities

type NugetSpecificities struct {
	DownloadContextPath string `yaml:"downloadContextPath"` // default: api/v2/package
	FeedContextPath     string `yaml:"feedContextPath"`     // default: api/v2
}

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"`
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL