google_artifact_registry_repository

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// CleanupPolicyDryRun: bool, optional
	CleanupPolicyDryRun terra.BoolValue `hcl:"cleanup_policy_dry_run,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Format: string, required
	Format terra.StringValue `hcl:"format,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KmsKeyName: string, optional
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// RepositoryId: string, required
	RepositoryId terra.StringValue `hcl:"repository_id,attr" validate:"required"`
	// CleanupPolicies: min=0
	CleanupPolicies []CleanupPolicies `hcl:"cleanup_policies,block" validate:"min=0"`
	// DockerConfig: optional
	DockerConfig *DockerConfig `hcl:"docker_config,block"`
	// MavenConfig: optional
	MavenConfig *MavenConfig `hcl:"maven_config,block"`
	// RemoteRepositoryConfig: optional
	RemoteRepositoryConfig *RemoteRepositoryConfig `hcl:"remote_repository_config,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// VirtualRepositoryConfig: optional
	VirtualRepositoryConfig *VirtualRepositoryConfig `hcl:"virtual_repository_config,block"`
}

Args contains the configurations for google_artifact_registry_repository.

type CleanupPolicies

type CleanupPolicies struct {
	// Action: string, optional
	Action terra.StringValue `hcl:"action,attr"`
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// CleanupPoliciesCondition: optional
	Condition *CleanupPoliciesCondition `hcl:"condition,block"`
	// CleanupPoliciesMostRecentVersions: optional
	MostRecentVersions *CleanupPoliciesMostRecentVersions `hcl:"most_recent_versions,block"`
}

type CleanupPoliciesAttributes

type CleanupPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (CleanupPoliciesAttributes) Action

func (CleanupPoliciesAttributes) Condition

func (CleanupPoliciesAttributes) Id

func (CleanupPoliciesAttributes) InternalRef

func (cp CleanupPoliciesAttributes) InternalRef() (terra.Reference, error)

func (CleanupPoliciesAttributes) InternalTokens

func (cp CleanupPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CleanupPoliciesAttributes) InternalWithRef

func (CleanupPoliciesAttributes) MostRecentVersions

type CleanupPoliciesCondition

type CleanupPoliciesCondition struct {
	// NewerThan: string, optional
	NewerThan terra.StringValue `hcl:"newer_than,attr"`
	// OlderThan: string, optional
	OlderThan terra.StringValue `hcl:"older_than,attr"`
	// PackageNamePrefixes: list of string, optional
	PackageNamePrefixes terra.ListValue[terra.StringValue] `hcl:"package_name_prefixes,attr"`
	// TagPrefixes: list of string, optional
	TagPrefixes terra.ListValue[terra.StringValue] `hcl:"tag_prefixes,attr"`
	// TagState: string, optional
	TagState terra.StringValue `hcl:"tag_state,attr"`
	// VersionNamePrefixes: list of string, optional
	VersionNamePrefixes terra.ListValue[terra.StringValue] `hcl:"version_name_prefixes,attr"`
}

type CleanupPoliciesConditionAttributes

type CleanupPoliciesConditionAttributes struct {
	// contains filtered or unexported fields
}

func (CleanupPoliciesConditionAttributes) InternalRef

func (CleanupPoliciesConditionAttributes) InternalTokens

func (CleanupPoliciesConditionAttributes) InternalWithRef

func (CleanupPoliciesConditionAttributes) NewerThan

func (CleanupPoliciesConditionAttributes) OlderThan

func (CleanupPoliciesConditionAttributes) PackageNamePrefixes

func (CleanupPoliciesConditionAttributes) TagPrefixes

func (CleanupPoliciesConditionAttributes) TagState

func (CleanupPoliciesConditionAttributes) VersionNamePrefixes

type CleanupPoliciesConditionState

type CleanupPoliciesConditionState struct {
	NewerThan           string   `json:"newer_than"`
	OlderThan           string   `json:"older_than"`
	PackageNamePrefixes []string `json:"package_name_prefixes"`
	TagPrefixes         []string `json:"tag_prefixes"`
	TagState            string   `json:"tag_state"`
	VersionNamePrefixes []string `json:"version_name_prefixes"`
}

type CleanupPoliciesMostRecentVersions

type CleanupPoliciesMostRecentVersions struct {
	// KeepCount: number, optional
	KeepCount terra.NumberValue `hcl:"keep_count,attr"`
	// PackageNamePrefixes: list of string, optional
	PackageNamePrefixes terra.ListValue[terra.StringValue] `hcl:"package_name_prefixes,attr"`
}

type CleanupPoliciesMostRecentVersionsAttributes

type CleanupPoliciesMostRecentVersionsAttributes struct {
	// contains filtered or unexported fields
}

func (CleanupPoliciesMostRecentVersionsAttributes) InternalRef

func (CleanupPoliciesMostRecentVersionsAttributes) InternalTokens

func (CleanupPoliciesMostRecentVersionsAttributes) InternalWithRef

func (CleanupPoliciesMostRecentVersionsAttributes) KeepCount

func (CleanupPoliciesMostRecentVersionsAttributes) PackageNamePrefixes

type CleanupPoliciesMostRecentVersionsState

type CleanupPoliciesMostRecentVersionsState struct {
	KeepCount           float64  `json:"keep_count"`
	PackageNamePrefixes []string `json:"package_name_prefixes"`
}

type CleanupPoliciesState

type CleanupPoliciesState struct {
	Action             string                                   `json:"action"`
	Id                 string                                   `json:"id"`
	Condition          []CleanupPoliciesConditionState          `json:"condition"`
	MostRecentVersions []CleanupPoliciesMostRecentVersionsState `json:"most_recent_versions"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// RepositoryId: string, required
	RepositoryId terra.StringValue `hcl:"repository_id,attr" validate:"required"`
}

DataArgs contains the configurations for google_artifact_registry_repository.

type DataCleanupPoliciesAttributes

type DataCleanupPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (DataCleanupPoliciesAttributes) Action

func (DataCleanupPoliciesAttributes) Condition

func (DataCleanupPoliciesAttributes) Id

func (DataCleanupPoliciesAttributes) InternalRef

func (cp DataCleanupPoliciesAttributes) InternalRef() (terra.Reference, error)

func (DataCleanupPoliciesAttributes) InternalTokens

func (cp DataCleanupPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataCleanupPoliciesAttributes) InternalWithRef

func (DataCleanupPoliciesAttributes) MostRecentVersions

type DataCleanupPoliciesConditionAttributes

type DataCleanupPoliciesConditionAttributes struct {
	// contains filtered or unexported fields
}

func (DataCleanupPoliciesConditionAttributes) InternalRef

func (DataCleanupPoliciesConditionAttributes) InternalTokens

func (DataCleanupPoliciesConditionAttributes) InternalWithRef

func (DataCleanupPoliciesConditionAttributes) NewerThan

func (DataCleanupPoliciesConditionAttributes) OlderThan

func (DataCleanupPoliciesConditionAttributes) PackageNamePrefixes

func (DataCleanupPoliciesConditionAttributes) TagPrefixes

func (DataCleanupPoliciesConditionAttributes) TagState

func (DataCleanupPoliciesConditionAttributes) VersionNamePrefixes

type DataCleanupPoliciesConditionState

type DataCleanupPoliciesConditionState struct {
	NewerThan           string   `json:"newer_than"`
	OlderThan           string   `json:"older_than"`
	PackageNamePrefixes []string `json:"package_name_prefixes"`
	TagPrefixes         []string `json:"tag_prefixes"`
	TagState            string   `json:"tag_state"`
	VersionNamePrefixes []string `json:"version_name_prefixes"`
}

type DataCleanupPoliciesMostRecentVersionsAttributes

type DataCleanupPoliciesMostRecentVersionsAttributes struct {
	// contains filtered or unexported fields
}

func (DataCleanupPoliciesMostRecentVersionsAttributes) InternalRef

func (DataCleanupPoliciesMostRecentVersionsAttributes) InternalTokens

func (DataCleanupPoliciesMostRecentVersionsAttributes) InternalWithRef

func (DataCleanupPoliciesMostRecentVersionsAttributes) KeepCount

func (DataCleanupPoliciesMostRecentVersionsAttributes) PackageNamePrefixes

type DataCleanupPoliciesMostRecentVersionsState

type DataCleanupPoliciesMostRecentVersionsState struct {
	KeepCount           float64  `json:"keep_count"`
	PackageNamePrefixes []string `json:"package_name_prefixes"`
}

type DataCleanupPoliciesState

type DataCleanupPoliciesState struct {
	Action             string                                       `json:"action"`
	Id                 string                                       `json:"id"`
	Condition          []DataCleanupPoliciesConditionState          `json:"condition"`
	MostRecentVersions []DataCleanupPoliciesMostRecentVersionsState `json:"most_recent_versions"`
}

type DataDockerConfigAttributes

type DataDockerConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataDockerConfigAttributes) ImmutableTags

func (dc DataDockerConfigAttributes) ImmutableTags() terra.BoolValue

func (DataDockerConfigAttributes) InternalRef

func (dc DataDockerConfigAttributes) InternalRef() (terra.Reference, error)

func (DataDockerConfigAttributes) InternalTokens

func (dc DataDockerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDockerConfigAttributes) InternalWithRef

type DataDockerConfigState

type DataDockerConfigState struct {
	ImmutableTags bool `json:"immutable_tags"`
}

type DataMavenConfigAttributes

type DataMavenConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataMavenConfigAttributes) AllowSnapshotOverwrites

func (mc DataMavenConfigAttributes) AllowSnapshotOverwrites() terra.BoolValue

func (DataMavenConfigAttributes) InternalRef

func (mc DataMavenConfigAttributes) InternalRef() (terra.Reference, error)

func (DataMavenConfigAttributes) InternalTokens

func (mc DataMavenConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataMavenConfigAttributes) InternalWithRef

func (DataMavenConfigAttributes) VersionPolicy

func (mc DataMavenConfigAttributes) VersionPolicy() terra.StringValue

type DataMavenConfigState

type DataMavenConfigState struct {
	AllowSnapshotOverwrites bool   `json:"allow_snapshot_overwrites"`
	VersionPolicy           string `json:"version_policy"`
}

type DataRemoteRepositoryConfigAptRepositoryAttributes

type DataRemoteRepositoryConfigAptRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigAptRepositoryAttributes) InternalRef

func (DataRemoteRepositoryConfigAptRepositoryAttributes) InternalTokens

func (DataRemoteRepositoryConfigAptRepositoryAttributes) InternalWithRef

type DataRemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes

type DataRemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) InternalRef

func (DataRemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) InternalTokens

func (DataRemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) InternalWithRef

func (DataRemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) RepositoryBase

func (DataRemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) RepositoryPath

type DataRemoteRepositoryConfigAptRepositoryPublicRepositoryState

type DataRemoteRepositoryConfigAptRepositoryPublicRepositoryState struct {
	RepositoryBase string `json:"repository_base"`
	RepositoryPath string `json:"repository_path"`
}

type DataRemoteRepositoryConfigAptRepositoryState

type DataRemoteRepositoryConfigAptRepositoryState struct {
	PublicRepository []DataRemoteRepositoryConfigAptRepositoryPublicRepositoryState `json:"public_repository"`
}

type DataRemoteRepositoryConfigAttributes

type DataRemoteRepositoryConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigAttributes) AptRepository

func (DataRemoteRepositoryConfigAttributes) Description

func (DataRemoteRepositoryConfigAttributes) DockerRepository

func (DataRemoteRepositoryConfigAttributes) InternalRef

func (DataRemoteRepositoryConfigAttributes) InternalTokens

func (DataRemoteRepositoryConfigAttributes) InternalWithRef

func (DataRemoteRepositoryConfigAttributes) MavenRepository

func (DataRemoteRepositoryConfigAttributes) NpmRepository

func (DataRemoteRepositoryConfigAttributes) PythonRepository

func (DataRemoteRepositoryConfigAttributes) UpstreamCredentials

func (DataRemoteRepositoryConfigAttributes) YumRepository

type DataRemoteRepositoryConfigDockerRepositoryAttributes

type DataRemoteRepositoryConfigDockerRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigDockerRepositoryAttributes) InternalRef

func (DataRemoteRepositoryConfigDockerRepositoryAttributes) InternalTokens

func (DataRemoteRepositoryConfigDockerRepositoryAttributes) InternalWithRef

func (DataRemoteRepositoryConfigDockerRepositoryAttributes) PublicRepository

type DataRemoteRepositoryConfigDockerRepositoryState

type DataRemoteRepositoryConfigDockerRepositoryState struct {
	PublicRepository string `json:"public_repository"`
}

type DataRemoteRepositoryConfigMavenRepositoryAttributes

type DataRemoteRepositoryConfigMavenRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigMavenRepositoryAttributes) InternalRef

func (DataRemoteRepositoryConfigMavenRepositoryAttributes) InternalTokens

func (DataRemoteRepositoryConfigMavenRepositoryAttributes) InternalWithRef

func (DataRemoteRepositoryConfigMavenRepositoryAttributes) PublicRepository

type DataRemoteRepositoryConfigMavenRepositoryState

type DataRemoteRepositoryConfigMavenRepositoryState struct {
	PublicRepository string `json:"public_repository"`
}

type DataRemoteRepositoryConfigNpmRepositoryAttributes

type DataRemoteRepositoryConfigNpmRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigNpmRepositoryAttributes) InternalRef

func (DataRemoteRepositoryConfigNpmRepositoryAttributes) InternalTokens

func (DataRemoteRepositoryConfigNpmRepositoryAttributes) InternalWithRef

func (DataRemoteRepositoryConfigNpmRepositoryAttributes) PublicRepository

type DataRemoteRepositoryConfigNpmRepositoryState

type DataRemoteRepositoryConfigNpmRepositoryState struct {
	PublicRepository string `json:"public_repository"`
}

type DataRemoteRepositoryConfigPythonRepositoryAttributes

type DataRemoteRepositoryConfigPythonRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigPythonRepositoryAttributes) InternalRef

func (DataRemoteRepositoryConfigPythonRepositoryAttributes) InternalTokens

func (DataRemoteRepositoryConfigPythonRepositoryAttributes) InternalWithRef

func (DataRemoteRepositoryConfigPythonRepositoryAttributes) PublicRepository

type DataRemoteRepositoryConfigPythonRepositoryState

type DataRemoteRepositoryConfigPythonRepositoryState struct {
	PublicRepository string `json:"public_repository"`
}

type DataRemoteRepositoryConfigState

type DataRemoteRepositoryConfigState struct {
	Description         string                                               `json:"description"`
	AptRepository       []DataRemoteRepositoryConfigAptRepositoryState       `json:"apt_repository"`
	DockerRepository    []DataRemoteRepositoryConfigDockerRepositoryState    `json:"docker_repository"`
	MavenRepository     []DataRemoteRepositoryConfigMavenRepositoryState     `json:"maven_repository"`
	NpmRepository       []DataRemoteRepositoryConfigNpmRepositoryState       `json:"npm_repository"`
	PythonRepository    []DataRemoteRepositoryConfigPythonRepositoryState    `json:"python_repository"`
	UpstreamCredentials []DataRemoteRepositoryConfigUpstreamCredentialsState `json:"upstream_credentials"`
	YumRepository       []DataRemoteRepositoryConfigYumRepositoryState       `json:"yum_repository"`
}

type DataRemoteRepositoryConfigUpstreamCredentialsAttributes

type DataRemoteRepositoryConfigUpstreamCredentialsAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigUpstreamCredentialsAttributes) InternalRef

func (DataRemoteRepositoryConfigUpstreamCredentialsAttributes) InternalTokens

func (DataRemoteRepositoryConfigUpstreamCredentialsAttributes) InternalWithRef

type DataRemoteRepositoryConfigUpstreamCredentialsState

type DataRemoteRepositoryConfigUpstreamCredentialsState struct {
	UsernamePasswordCredentials []DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsState `json:"username_password_credentials"`
}

type DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes

type DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) InternalRef

func (DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) InternalTokens

func (DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) PasswordSecretVersion

func (DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) Username

type DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsState

type DataRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsState struct {
	PasswordSecretVersion string `json:"password_secret_version"`
	Username              string `json:"username"`
}

type DataRemoteRepositoryConfigYumRepositoryAttributes

type DataRemoteRepositoryConfigYumRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigYumRepositoryAttributes) InternalRef

func (DataRemoteRepositoryConfigYumRepositoryAttributes) InternalTokens

func (DataRemoteRepositoryConfigYumRepositoryAttributes) InternalWithRef

type DataRemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes

type DataRemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) InternalRef

func (DataRemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) InternalTokens

func (DataRemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) InternalWithRef

func (DataRemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) RepositoryBase

func (DataRemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) RepositoryPath

type DataRemoteRepositoryConfigYumRepositoryPublicRepositoryState

type DataRemoteRepositoryConfigYumRepositoryPublicRepositoryState struct {
	RepositoryBase string `json:"repository_base"`
	RepositoryPath string `json:"repository_path"`
}

type DataRemoteRepositoryConfigYumRepositoryState

type DataRemoteRepositoryConfigYumRepositoryState struct {
	PublicRepository []DataRemoteRepositoryConfigYumRepositoryPublicRepositoryState `json:"public_repository"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_artifact_registry_repository.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (garr *DataSource) Attributes() dataGoogleArtifactRegistryRepositoryAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (garr *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (garr *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (garr *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataVirtualRepositoryConfigAttributes

type DataVirtualRepositoryConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataVirtualRepositoryConfigAttributes) InternalRef

func (DataVirtualRepositoryConfigAttributes) InternalTokens

func (DataVirtualRepositoryConfigAttributes) InternalWithRef

func (DataVirtualRepositoryConfigAttributes) UpstreamPolicies

type DataVirtualRepositoryConfigState

type DataVirtualRepositoryConfigState struct {
	UpstreamPolicies []DataVirtualRepositoryConfigUpstreamPoliciesState `json:"upstream_policies"`
}

type DataVirtualRepositoryConfigUpstreamPoliciesAttributes

type DataVirtualRepositoryConfigUpstreamPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (DataVirtualRepositoryConfigUpstreamPoliciesAttributes) Id

func (DataVirtualRepositoryConfigUpstreamPoliciesAttributes) InternalRef

func (DataVirtualRepositoryConfigUpstreamPoliciesAttributes) InternalTokens

func (DataVirtualRepositoryConfigUpstreamPoliciesAttributes) InternalWithRef

func (DataVirtualRepositoryConfigUpstreamPoliciesAttributes) Priority

func (DataVirtualRepositoryConfigUpstreamPoliciesAttributes) Repository

type DataVirtualRepositoryConfigUpstreamPoliciesState

type DataVirtualRepositoryConfigUpstreamPoliciesState struct {
	Id         string  `json:"id"`
	Priority   float64 `json:"priority"`
	Repository string  `json:"repository"`
}

type DockerConfig

type DockerConfig struct {
	// ImmutableTags: bool, optional
	ImmutableTags terra.BoolValue `hcl:"immutable_tags,attr"`
}

type DockerConfigAttributes

type DockerConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DockerConfigAttributes) ImmutableTags

func (dc DockerConfigAttributes) ImmutableTags() terra.BoolValue

func (DockerConfigAttributes) InternalRef

func (dc DockerConfigAttributes) InternalRef() (terra.Reference, error)

func (DockerConfigAttributes) InternalTokens

func (dc DockerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DockerConfigAttributes) InternalWithRef

type DockerConfigState

type DockerConfigState struct {
	ImmutableTags bool `json:"immutable_tags"`
}

type MavenConfig

type MavenConfig struct {
	// AllowSnapshotOverwrites: bool, optional
	AllowSnapshotOverwrites terra.BoolValue `hcl:"allow_snapshot_overwrites,attr"`
	// VersionPolicy: string, optional
	VersionPolicy terra.StringValue `hcl:"version_policy,attr"`
}

type MavenConfigAttributes

type MavenConfigAttributes struct {
	// contains filtered or unexported fields
}

func (MavenConfigAttributes) AllowSnapshotOverwrites

func (mc MavenConfigAttributes) AllowSnapshotOverwrites() terra.BoolValue

func (MavenConfigAttributes) InternalRef

func (mc MavenConfigAttributes) InternalRef() (terra.Reference, error)

func (MavenConfigAttributes) InternalTokens

func (mc MavenConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MavenConfigAttributes) InternalWithRef

func (MavenConfigAttributes) VersionPolicy

func (mc MavenConfigAttributes) VersionPolicy() terra.StringValue

type MavenConfigState

type MavenConfigState struct {
	AllowSnapshotOverwrites bool   `json:"allow_snapshot_overwrites"`
	VersionPolicy           string `json:"version_policy"`
}

type RemoteRepositoryConfig

type RemoteRepositoryConfig struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// RemoteRepositoryConfigAptRepository: optional
	AptRepository *RemoteRepositoryConfigAptRepository `hcl:"apt_repository,block"`
	// RemoteRepositoryConfigDockerRepository: optional
	DockerRepository *RemoteRepositoryConfigDockerRepository `hcl:"docker_repository,block"`
	// RemoteRepositoryConfigMavenRepository: optional
	MavenRepository *RemoteRepositoryConfigMavenRepository `hcl:"maven_repository,block"`
	// RemoteRepositoryConfigNpmRepository: optional
	NpmRepository *RemoteRepositoryConfigNpmRepository `hcl:"npm_repository,block"`
	// RemoteRepositoryConfigPythonRepository: optional
	PythonRepository *RemoteRepositoryConfigPythonRepository `hcl:"python_repository,block"`
	// RemoteRepositoryConfigUpstreamCredentials: optional
	UpstreamCredentials *RemoteRepositoryConfigUpstreamCredentials `hcl:"upstream_credentials,block"`
	// RemoteRepositoryConfigYumRepository: optional
	YumRepository *RemoteRepositoryConfigYumRepository `hcl:"yum_repository,block"`
}

type RemoteRepositoryConfigAptRepository

type RemoteRepositoryConfigAptRepository struct {
	// RemoteRepositoryConfigAptRepositoryPublicRepository: optional
	PublicRepository *RemoteRepositoryConfigAptRepositoryPublicRepository `hcl:"public_repository,block"`
}

type RemoteRepositoryConfigAptRepositoryAttributes

type RemoteRepositoryConfigAptRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigAptRepositoryAttributes) InternalRef

func (RemoteRepositoryConfigAptRepositoryAttributes) InternalTokens

func (RemoteRepositoryConfigAptRepositoryAttributes) InternalWithRef

type RemoteRepositoryConfigAptRepositoryPublicRepository

type RemoteRepositoryConfigAptRepositoryPublicRepository struct {
	// RepositoryBase: string, required
	RepositoryBase terra.StringValue `hcl:"repository_base,attr" validate:"required"`
	// RepositoryPath: string, required
	RepositoryPath terra.StringValue `hcl:"repository_path,attr" validate:"required"`
}

type RemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes

type RemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) InternalRef

func (RemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) InternalTokens

func (RemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) InternalWithRef

func (RemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) RepositoryBase

func (RemoteRepositoryConfigAptRepositoryPublicRepositoryAttributes) RepositoryPath

type RemoteRepositoryConfigAptRepositoryPublicRepositoryState

type RemoteRepositoryConfigAptRepositoryPublicRepositoryState struct {
	RepositoryBase string `json:"repository_base"`
	RepositoryPath string `json:"repository_path"`
}

type RemoteRepositoryConfigAptRepositoryState

type RemoteRepositoryConfigAptRepositoryState struct {
	PublicRepository []RemoteRepositoryConfigAptRepositoryPublicRepositoryState `json:"public_repository"`
}

type RemoteRepositoryConfigAttributes

type RemoteRepositoryConfigAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigAttributes) AptRepository

func (RemoteRepositoryConfigAttributes) Description

func (RemoteRepositoryConfigAttributes) DockerRepository

func (RemoteRepositoryConfigAttributes) InternalRef

func (RemoteRepositoryConfigAttributes) InternalTokens

func (rrc RemoteRepositoryConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RemoteRepositoryConfigAttributes) InternalWithRef

func (RemoteRepositoryConfigAttributes) MavenRepository

func (RemoteRepositoryConfigAttributes) NpmRepository

func (RemoteRepositoryConfigAttributes) PythonRepository

func (RemoteRepositoryConfigAttributes) UpstreamCredentials

func (RemoteRepositoryConfigAttributes) YumRepository

type RemoteRepositoryConfigDockerRepository

type RemoteRepositoryConfigDockerRepository struct {
	// PublicRepository: string, optional
	PublicRepository terra.StringValue `hcl:"public_repository,attr"`
}

type RemoteRepositoryConfigDockerRepositoryAttributes

type RemoteRepositoryConfigDockerRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigDockerRepositoryAttributes) InternalRef

func (RemoteRepositoryConfigDockerRepositoryAttributes) InternalTokens

func (RemoteRepositoryConfigDockerRepositoryAttributes) InternalWithRef

func (RemoteRepositoryConfigDockerRepositoryAttributes) PublicRepository

type RemoteRepositoryConfigDockerRepositoryState

type RemoteRepositoryConfigDockerRepositoryState struct {
	PublicRepository string `json:"public_repository"`
}

type RemoteRepositoryConfigMavenRepository

type RemoteRepositoryConfigMavenRepository struct {
	// PublicRepository: string, optional
	PublicRepository terra.StringValue `hcl:"public_repository,attr"`
}

type RemoteRepositoryConfigMavenRepositoryAttributes

type RemoteRepositoryConfigMavenRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigMavenRepositoryAttributes) InternalRef

func (RemoteRepositoryConfigMavenRepositoryAttributes) InternalTokens

func (RemoteRepositoryConfigMavenRepositoryAttributes) InternalWithRef

func (RemoteRepositoryConfigMavenRepositoryAttributes) PublicRepository

type RemoteRepositoryConfigMavenRepositoryState

type RemoteRepositoryConfigMavenRepositoryState struct {
	PublicRepository string `json:"public_repository"`
}

type RemoteRepositoryConfigNpmRepository

type RemoteRepositoryConfigNpmRepository struct {
	// PublicRepository: string, optional
	PublicRepository terra.StringValue `hcl:"public_repository,attr"`
}

type RemoteRepositoryConfigNpmRepositoryAttributes

type RemoteRepositoryConfigNpmRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigNpmRepositoryAttributes) InternalRef

func (RemoteRepositoryConfigNpmRepositoryAttributes) InternalTokens

func (RemoteRepositoryConfigNpmRepositoryAttributes) InternalWithRef

func (RemoteRepositoryConfigNpmRepositoryAttributes) PublicRepository

type RemoteRepositoryConfigNpmRepositoryState

type RemoteRepositoryConfigNpmRepositoryState struct {
	PublicRepository string `json:"public_repository"`
}

type RemoteRepositoryConfigPythonRepository

type RemoteRepositoryConfigPythonRepository struct {
	// PublicRepository: string, optional
	PublicRepository terra.StringValue `hcl:"public_repository,attr"`
}

type RemoteRepositoryConfigPythonRepositoryAttributes

type RemoteRepositoryConfigPythonRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigPythonRepositoryAttributes) InternalRef

func (RemoteRepositoryConfigPythonRepositoryAttributes) InternalTokens

func (RemoteRepositoryConfigPythonRepositoryAttributes) InternalWithRef

func (RemoteRepositoryConfigPythonRepositoryAttributes) PublicRepository

type RemoteRepositoryConfigPythonRepositoryState

type RemoteRepositoryConfigPythonRepositoryState struct {
	PublicRepository string `json:"public_repository"`
}

type RemoteRepositoryConfigState

type RemoteRepositoryConfigState struct {
	Description         string                                           `json:"description"`
	AptRepository       []RemoteRepositoryConfigAptRepositoryState       `json:"apt_repository"`
	DockerRepository    []RemoteRepositoryConfigDockerRepositoryState    `json:"docker_repository"`
	MavenRepository     []RemoteRepositoryConfigMavenRepositoryState     `json:"maven_repository"`
	NpmRepository       []RemoteRepositoryConfigNpmRepositoryState       `json:"npm_repository"`
	PythonRepository    []RemoteRepositoryConfigPythonRepositoryState    `json:"python_repository"`
	UpstreamCredentials []RemoteRepositoryConfigUpstreamCredentialsState `json:"upstream_credentials"`
	YumRepository       []RemoteRepositoryConfigYumRepositoryState       `json:"yum_repository"`
}

type RemoteRepositoryConfigUpstreamCredentials

type RemoteRepositoryConfigUpstreamCredentials struct {
	// RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentials: optional
	UsernamePasswordCredentials *RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentials `hcl:"username_password_credentials,block"`
}

type RemoteRepositoryConfigUpstreamCredentialsAttributes

type RemoteRepositoryConfigUpstreamCredentialsAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigUpstreamCredentialsAttributes) InternalRef

func (RemoteRepositoryConfigUpstreamCredentialsAttributes) InternalTokens

func (RemoteRepositoryConfigUpstreamCredentialsAttributes) InternalWithRef

type RemoteRepositoryConfigUpstreamCredentialsState

type RemoteRepositoryConfigUpstreamCredentialsState struct {
	UsernamePasswordCredentials []RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsState `json:"username_password_credentials"`
}

type RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentials

type RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentials struct {
	// PasswordSecretVersion: string, optional
	PasswordSecretVersion terra.StringValue `hcl:"password_secret_version,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
}

type RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes

type RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) InternalRef

func (RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) InternalTokens

func (RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) InternalWithRef

func (RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) PasswordSecretVersion

func (RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsAttributes) Username

type RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsState

type RemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsState struct {
	PasswordSecretVersion string `json:"password_secret_version"`
	Username              string `json:"username"`
}

type RemoteRepositoryConfigYumRepository

type RemoteRepositoryConfigYumRepository struct {
	// RemoteRepositoryConfigYumRepositoryPublicRepository: optional
	PublicRepository *RemoteRepositoryConfigYumRepositoryPublicRepository `hcl:"public_repository,block"`
}

type RemoteRepositoryConfigYumRepositoryAttributes

type RemoteRepositoryConfigYumRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigYumRepositoryAttributes) InternalRef

func (RemoteRepositoryConfigYumRepositoryAttributes) InternalTokens

func (RemoteRepositoryConfigYumRepositoryAttributes) InternalWithRef

type RemoteRepositoryConfigYumRepositoryPublicRepository

type RemoteRepositoryConfigYumRepositoryPublicRepository struct {
	// RepositoryBase: string, required
	RepositoryBase terra.StringValue `hcl:"repository_base,attr" validate:"required"`
	// RepositoryPath: string, required
	RepositoryPath terra.StringValue `hcl:"repository_path,attr" validate:"required"`
}

type RemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes

type RemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) InternalRef

func (RemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) InternalTokens

func (RemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) InternalWithRef

func (RemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) RepositoryBase

func (RemoteRepositoryConfigYumRepositoryPublicRepositoryAttributes) RepositoryPath

type RemoteRepositoryConfigYumRepositoryPublicRepositoryState

type RemoteRepositoryConfigYumRepositoryPublicRepositoryState struct {
	RepositoryBase string `json:"repository_base"`
	RepositoryPath string `json:"repository_path"`
}

type RemoteRepositoryConfigYumRepositoryState

type RemoteRepositoryConfigYumRepositoryState struct {
	PublicRepository []RemoteRepositoryConfigYumRepositoryPublicRepositoryState `json:"public_repository"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_artifact_registry_repository.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (garr *Resource) Attributes() googleArtifactRegistryRepositoryAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (garr *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (garr *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (garr *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (garr *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (garr *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (garr *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (garr *Resource) State() (*googleArtifactRegistryRepositoryState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (garr *Resource) StateMust() *googleArtifactRegistryRepositoryState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (garr *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type VirtualRepositoryConfig

type VirtualRepositoryConfig struct {
	// VirtualRepositoryConfigUpstreamPolicies: min=0
	UpstreamPolicies []VirtualRepositoryConfigUpstreamPolicies `hcl:"upstream_policies,block" validate:"min=0"`
}

type VirtualRepositoryConfigAttributes

type VirtualRepositoryConfigAttributes struct {
	// contains filtered or unexported fields
}

func (VirtualRepositoryConfigAttributes) InternalRef

func (VirtualRepositoryConfigAttributes) InternalTokens

func (vrc VirtualRepositoryConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VirtualRepositoryConfigAttributes) InternalWithRef

func (VirtualRepositoryConfigAttributes) UpstreamPolicies

type VirtualRepositoryConfigState

type VirtualRepositoryConfigState struct {
	UpstreamPolicies []VirtualRepositoryConfigUpstreamPoliciesState `json:"upstream_policies"`
}

type VirtualRepositoryConfigUpstreamPolicies

type VirtualRepositoryConfigUpstreamPolicies struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
	// Repository: string, optional
	Repository terra.StringValue `hcl:"repository,attr"`
}

type VirtualRepositoryConfigUpstreamPoliciesAttributes

type VirtualRepositoryConfigUpstreamPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (VirtualRepositoryConfigUpstreamPoliciesAttributes) Id

func (VirtualRepositoryConfigUpstreamPoliciesAttributes) InternalRef

func (VirtualRepositoryConfigUpstreamPoliciesAttributes) InternalTokens

func (VirtualRepositoryConfigUpstreamPoliciesAttributes) InternalWithRef

func (VirtualRepositoryConfigUpstreamPoliciesAttributes) Priority

func (VirtualRepositoryConfigUpstreamPoliciesAttributes) Repository

type VirtualRepositoryConfigUpstreamPoliciesState

type VirtualRepositoryConfigUpstreamPoliciesState struct {
	Id         string  `json:"id"`
	Priority   float64 `json:"priority"`
	Repository string  `json:"repository"`
}

Jump to

Keyboard shortcuts

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