All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.DeploymentArgs.scala Maven / Gradle / Ivy

package besom.api.gcpglobalcloudrun

final case class DeploymentArgs private(
  imageName: besom.types.Output[String],
  projectId: besom.types.Output[String],
  serviceName: besom.types.Output[String]
)

object DeploymentArgs:
  def apply(
    imageName: besom.types.Input[String],
    projectId: besom.types.Input[String],
    serviceName: besom.types.Input[String]
  )(using besom.types.Context): DeploymentArgs =
    new DeploymentArgs(
      imageName = imageName.asOutput(isSecret = false),
      projectId = projectId.asOutput(isSecret = false),
      serviceName = serviceName.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[DeploymentArgs] =
    besom.internal.Encoder.derived[DeploymentArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[DeploymentArgs] =
    besom.internal.ArgsEncoder.derived[DeploymentArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy