Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 3.62 KB

File metadata and controls

60 lines (49 loc) · 3.62 KB

CargoUpstream

Properties

Name Type Description Notes
authMode AuthModeEnum The authentication mode to use when accessing this upstream. [optional]
authSecret String Secret to provide with requests to upstream. [optional]
authUsername String Username to provide with requests to upstream. [optional]
available String [optional]
canReindex String [optional]
createdAt OffsetDateTime The datetime the upstream source was created. [optional]
disableReason DisableReasonEnum [optional]
disableReasonText String Human-readable explanation of why this upstream is disabled [optional]
extraHeader1 String The key for extra header #1 to send to upstream. [optional]
extraHeader2 String The key for extra header #2 to send to upstream. [optional]
extraValue1 String The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. [optional]
extraValue2 String The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. [optional]
hasFailedSignatureVerification String [optional]
indexPackageCount String The number of packages available in this upstream source [optional]
indexStatus String The current indexing status of this upstream source [optional]
isActive Boolean Whether or not this upstream is active and ready for requests. [optional]
lastIndexed String The last time this upstream source was indexed [optional]
mode ModeEnum The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. [optional]
name String A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream.
pendingValidation Boolean When true, this upstream source is pending validation. [optional]
priority java.math.BigInteger Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. [optional]
slugPerm String [optional]
updatedAt OffsetDateTime [optional]
upstreamUrl String The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository.
verifySsl Boolean If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. [optional]

Enum: AuthModeEnum

Name Value
NONE "None"
USERNAME_AND_PASSWORD "Username and Password"

Enum: DisableReasonEnum

Name Value
N_A "N/A"
UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY "Upstream points to its own repository"
MISSING_UPSTREAM_SOURCE "Missing upstream source"
UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER "Upstream was disabled by request of user"

Enum: ModeEnum

Name Value
PROXY_ONLY "Proxy Only"
CACHE_AND_PROXY "Cache and Proxy"