cloudsmith

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 26 Imported by: 0

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

func Provider

func Provider() *schema.Provider

Provider returns a terraform.ResourceProvider.

Types

type Checksums added in v0.0.31

type Checksums struct {
	MD5    string
	SHA1   string
	SHA256 string
	SHA512 string
}

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
}

Jump to

Keyboard shortcuts

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