Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

besom-cfg initial checkin to monorepo #494

Merged
merged 8 commits into from
May 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests to main
  • Loading branch information
lbialy committed May 24, 2024
commit 67e46f6a491ab7b2ab38da14281e02278a58ee77
9 changes: 7 additions & 2 deletions besom-cfg/k8s/src/test/scala/DummyContext.scala
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
package besom.internal

import pulumirpc.resource.*
import pulumirpc.resource.{Result => _, *}
import pulumirpc.provider.CallRequest
import pulumirpc.provider.CallResponse
import pulumirpc.provider.InvokeResponse
import pulumirpc.engine.*
import besom.NonEmptyString
import besom.internal.logging.BesomLogger
import pulumirpc.callback.Callback

object DummyContext:
val dummyRunInfo = RunInfo(Some("test-organization"), "test-project", "test-stack", true, 4, false, "dummy", "dummy")
val dummyFeatureSupport = FeatureSupport(true, true, true, true)
val dummyFeatureSupport = FeatureSupport(true, true, true, true, true)
val dummyMonitor = new Monitor:
def registerStackTransform(callback: Callback): Result[Unit] =
Result.fail(Exception("Not implemented"))
def call(callRequest: ResourceCallRequest): Result[CallResponse] =
Result.fail(Exception("Not implemented"))
def call(callRequest: CallRequest): Result[CallResponse] =
Result.fail(Exception("Not implemented"))
def invoke(invokeRequest: ResourceInvokeRequest): Result[InvokeResponse] =
Expand Down
Loading