Skip to content

Commit

Permalink
Added terraform backend and helmoci package types
Browse files Browse the repository at this point in the history
  • Loading branch information
anancarv authored Jun 4, 2024
2 parents bb445c2 + d7bfae6 commit 20b2726
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyartifactory/models/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class PackageTypeEnum(str, Enum):
go = "go"
gradle = "gradle"
helm = "helm"
helmoci = "helmoci"
ivy = "ivy"
maven = "maven"
npm = "npm"
Expand All @@ -40,6 +41,7 @@ class PackageTypeEnum(str, Enum):
rpm = "rpm"
sbt = "sbt"
terraform = "terraform"
terraformbackend = "terraformbackend"
vagrant = "vagrant"
vcs = "vcs"
yum = "yum"
Expand Down Expand Up @@ -179,6 +181,7 @@ class LocalRepository(BaseRepositoryModel):
secondaryKeyPairRef: Optional[str] = None
priorityResolution: bool = False
cargoInternalIndex: bool = False
terraformType: Literal["MODULE", "PROVIDER"] = "MODULE"


class LocalRepositoryResponse(LocalRepository):
Expand Down Expand Up @@ -352,6 +355,7 @@ class FederatedBaseRepostoryModel(BaseRepositoryModel):
secondaryKeyPairRef: Optional[str] = None
priorityResolution: bool = False
cargoInternalIndex: bool = False
terraformType: Literal["MODULE", "PROVIDER"] = "MODULE"


class FederatedRepository(FederatedBaseRepostoryModel):
Expand Down

0 comments on commit 20b2726

Please sign in to comment.