Skip to content

Commit

Permalink
WIP stack/service/app data type
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocph committed Nov 15, 2023
1 parent f6e80b6 commit fd02214
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/api/types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package api

import (
apps_v1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
)

type Service struct {
Deployment *apps_v1.Deployment `json:"deployment"`
Svc v1.Service `json:"svc"`
Pods []*v1.Pod `json:"pods"`
}

0 comments on commit fd02214

Please sign in to comment.