Documentation ¶
Overview ¶
Package cloudsmith implements a Terraform provider for interacting with Cloudsmith.
Index ¶
Constants ¶
View Source
const ( CreatedAt string = "created_at" Description string = "description" Name string = "name" AllowUnknownLicenses string = "allow_unknown_licenses" OnViolationQuarantine string = "on_violation_quarantine" SlugPerm string = "slug_perm" SpdxIdentifiers string = "spdx_identifiers" PackageQueryString string = "package_query_string" UpdatedAt string = "updated_at" Organization string = "organization" )
View Source
const ( Cran = "cran" Dart = "dart" Deb = "deb" Docker = "docker" Helm = "helm" Maven = "maven" Npm = "npm" NuGet = "nuget" Python = "python" Rpm = "rpm" Ruby = "ruby" Swift = "swift" )
upstream types
View Source
const ( AuthMode = "auth_mode" AuthSecret = "auth_secret" AuthUsername = "auth_username" Component = "component" DistroVersion = "distro_version" DistroVersions = "distro_versions" ExtraHeader1 = "extra_header_1" ExtraHeader2 = "extra_header_2" ExtraValue1 = "extra_value_1" ExtraValue2 = "extra_value_2" IsActive = "is_active" IncludeSources = "include_sources" Mode = "mode" Priority = "priority" UpstreamDistribution = "upstream_distribution" UpstreamType = "upstream_type" UpstreamUrl = "upstream_url" VerifySsl = "verify_ssl" )
tf state prop names
View Source
const ( MinSeverity string = "min_severity" AllowUnknownSeverity string = "allow_unknown_severity" )
View Source
const CidrAllow string = "cidr_allow"
View Source
const CidrDeny string = "cidr_deny"
View Source
const CountryCodeAllow string = "country_code_allow"
View Source
const CountryCodeDeny string = "country_code_deny"
View Source
const Namespace string = "namespace"
View Source
const Repository string = "repository"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checksums ¶ added in v0.0.31
func (Checksums) CompareWithPkg ¶ added in v0.0.31
func (c Checksums) CompareWithPkg(pkg *cloudsmith_api.Package) error
type Upstream ¶ added in v0.0.26
type Upstream interface { GetAuthMode() string GetAuthSecret() string GetAuthUsername() string GetExtraHeader1() string GetExtraHeader2() string GetExtraValue1() string GetExtraValue2() string GetCreatedAt() time.Time GetIsActive() bool GetMode() string GetName() string GetPriority() int64 GetSlugPerm() string GetUpdatedAt() time.Time GetUpstreamUrl() string GetVerifySsl() bool }
Source Files ¶
- data_entitlement.go
- data_package_deny_policy.go
- data_source_namespace.go
- data_source_organization.go
- data_source_package.go
- data_source_package_list.go
- data_source_repository.go
- data_source_repository_privileges.go
- provider.go
- provider_config.go
- resource_entitlement.go
- resource_license_policy.go
- resource_oidc.go
- resource_package_deny_policy.go
- resource_repository.go
- resource_repository_geo_ip_rules.go
- resource_repository_privileges.go
- resource_repository_upstream.go
- resource_saml.go
- resource_service.go
- resource_team.go
- resource_vulnerability_policy.go
- resource_webhook.go
- utils.go
Click to show internal directories.
Click to hide internal directories.