litmus/chaoscenter/graphql/server/graph
sukkyun hong 14c9808302
Add operator interface for Probe pkg (#4849)
* refactor: add operator interface for Probe pkg

- Add probeOperator to probe pkg
- Add probeOperator to handler that uses probeUtils
- Add probe operator as parameter to functions that use probe operations in probeUtils

Signed-off-by: sukkyun2 <goobghd@gmail.com>

* test: add operator to handlers that use probeUtils

Signed-off-by: sukkyun2 <goobghd@gmail.com>

* fix: reorder golang Imports

- Apply goimports

Signed-off-by: sukkyun2 <goobghd@gmail.com>

* test: add probeOperator to unit tests

Signed-off-by: sukkyun2 <goobghd@gmail.com>

* refactor: move GenerateProbeManifest logic into ProbeService

- Updated handler to call GenerateExperimentManifestWithProbes, GenerateCronExperimentManifestWithProbes via ProbeService

Signed-off-by: sukkyun2 <goobghd@gmail.com>

* test: replace probeOperator with probeService

- add mock probeService generated by mockery

Signed-off-by: sukkyun2 <goobghd@gmail.com>

* fix: reorder goimports

Signed-off-by: sukkyun2 <goobghd@gmail.com>

---------

Signed-off-by: sukkyun2 <goobghd@gmail.com>
Co-authored-by: Namkyu Park <53862866+namkyu1999@users.noreply.github.com>
2024-11-22 13:04:11 +05:30
..
generated Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
model Seperate call to retrieve namespace list and retrieve KubeObject for only a single namespace (#4680) 2024-09-06 13:34:38 +05:30
chaos_experiment.resolvers.go Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
chaos_experiment_run.resolvers.go Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
chaos_infrastructure.resolvers.go Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
chaoshub.resolvers.go Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
environment.resolvers.go Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
gitops.resolvers.go Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
image_registry.resolvers.go Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
probe.resolvers.go Converted an extended operation type to a root type in the GraphQL schema (#4894) 2024-09-23 10:36:36 +05:30
resolver.go Add operator interface for Probe pkg (#4849) 2024-11-22 13:04:11 +05:30