Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
153 changes: 152 additions & 1 deletion apps/console/internal/app/graph/generated/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions apps/console/internal/app/graph/model/models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/console/internal/app/graph/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ type Query {
}

type Mutation {
core_setupDefaultEnvironment: Boolean! @isLoggedInAndVerified @hasAccount
core_createEnvironment(env: EnvironmentIn!): Environment @isLoggedInAndVerified @hasAccount
core_updateEnvironment(env: EnvironmentIn!): Environment @isLoggedInAndVerified @hasAccount
core_deleteEnvironment(envName: String!): Boolean! @isLoggedInAndVerified @hasAccount
Expand Down
22 changes: 16 additions & 6 deletions apps/console/internal/app/graph/schema.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ type Github__com___kloudlite___operator___apis___crds___v1__Intercept @shareable
enabled: Boolean!
portMappings: [Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappings!]
toDevice: String!
toIPAddr: String
}

type Github__com___kloudlite___operator___apis___crds___v1__ManagedResourceSpec @shareable {
Expand Down Expand Up @@ -515,6 +516,7 @@ input Github__com___kloudlite___operator___apis___crds___v1__InterceptIn {
enabled: Boolean!
portMappings: [Github__com___kloudlite___operator___apis___crds___v1__AppInterceptPortMappingsIn!]
toDevice: String!
toIPAddr: String
}

input Github__com___kloudlite___operator___apis___crds___v1__ManagedResourceSpecIn {
Expand Down
1 change: 1 addition & 0 deletions apps/console/internal/domain/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ type Domain interface {
ListEnvironments(ctx ConsoleContext, search map[string]repos.MatchFilter, pq repos.CursorPagination) (*repos.PaginatedRecord[*entities.Environment], error)
GetEnvironment(ctx ConsoleContext, name string) (*entities.Environment, error)

SetupDefaultEnvTemplate(ctx ConsoleContext) error
CreateEnvironment(ctx ConsoleContext, env entities.Environment) (*entities.Environment, error)
CloneEnvironment(ctx ConsoleContext, args CloneEnvironmentArgs) (*entities.Environment, error)
UpdateEnvironment(ctx ConsoleContext, env entities.Environment) (*entities.Environment, error)
Expand Down
Loading