PrivateGitHubBlueprintCatalogOptions
Namespace: Meshmakers.Octo.ConstructionKit.Contracts.BlueprintCatalogs
Defines the GitHub Options for private version of GitHub blueprint catalog
public class PrivateGitHubBlueprintCatalogOptions : GitHubBlueprintCatalogOptions, IGitHubOptions
Inheritance Object → BlueprintCatalogOptions → GitHubBlueprintCatalogOptions → PrivateGitHubBlueprintCatalogOptions
Implements IGitHubOptions
Properties
IsEnabled
When false, the catalog is neither read nor written: it contributes nothing to listings,
dependency resolution or installs, and a refresh reports it as skipped (AB#6112). Mirrors
GitHubCatalogOptions.IsEnabled on the CK side; bound from the same configuration
sections as the repository coordinates (e.g. PrivateOctoGitHubBlueprints:IsEnabled).
public bool IsEnabled { get; set; }
Property Value
Remarks:
Defaults to true, which is the behaviour every installation had before the switch
existed: a host that does not set it keeps reading both GitHub blueprint catalogs. Production
installations opt out of the private (main-lane) catalog explicitly via configuration.
GitHubApiToken
API Token for GitHub (optional - only needed for write operations)
public string GitHubApiToken { get; set; }
Property Value
GitHubRepositoryName
Name of the GitHub repository
public string GitHubRepositoryName { get; set; }
Property Value
GitHubRepositoryOwner
Owner of the GitHub repository
public string GitHubRepositoryOwner { get; set; }
Property Value
GitHubRepositoryBranch
GitHub repository branch
public string GitHubRepositoryBranch { get; set; }
Property Value
GitHubPagesUri
The uri to the GitHub pages site where the blueprints are stored.
public string GitHubPagesUri { get; set; }
Property Value
ProductName
Represents the product name to be used in the User-Agent header when making requests to GitHub API.
public string ProductName { get; set; }
Property Value
CacheFileName
Gets or sets the cache file name for the blueprint catalog
public string CacheFileName { get; set; }
Property Value
CacheDirectory
Gets or sets the cache directory for blueprint catalogs
public string CacheDirectory { get; set; }
Property Value
Constructors
PrivateGitHubBlueprintCatalogOptions()
Initializes a new instance of the PrivateGitHubBlueprintCatalogOptions class.
public PrivateGitHubBlueprintCatalogOptions()