run informer

This commit is contained in:
GLYASAI 2021-04-20 22:27:09 +08:00
parent ea22d12b25
commit 63f54f3178
11 changed files with 398 additions and 190 deletions

View File

@ -215,11 +215,13 @@ func (a *ApplicationController) Install(w http.ResponseWriter, r *http.Request)
return
}
err := handler.GetApplicationHandler().Install(r.Context(), app, installAppReq.Values)
services, err := handler.GetApplicationHandler().Install(r.Context(), app, installAppReq.Values)
if err != nil {
httputil.ReturnBcodeError(r, w, err)
return
}
httputil.ReturnSuccess(r, w, services)
}
func (a *ApplicationController) ListServices(w http.ResponseWriter, r *http.Request) {

View File

@ -49,7 +49,7 @@ type ApplicationHandler interface {
BatchUpdateComponentPorts(appID string, ports []*model.AppPort) error
GetStatus(ctx context.Context, app *dbmodel.Application) (*model.AppStatus, error)
GetDetectProcess(ctx context.Context, app *dbmodel.Application) ([]*model.AppDetectProcess, error)
Install(ctx context.Context, app *dbmodel.Application, values string) error
Install(ctx context.Context, app *dbmodel.Application, values string) ([]*pb.AppService, error)
ListServices(ctx context.Context, app *dbmodel.Application) ([]*model.AppService, error)
DeleteConfigGroup(appID, configGroupName string) error
@ -294,10 +294,13 @@ func (a *ApplicationAction) GetStatus(ctx context.Context, app *dbmodel.Applicat
diskUsage := a.getDiskUsage(app.AppID)
res := &model.AppStatus{
Status: status.Status,
Cpu: status.Cpu,
Memory: status.Memory,
Disk: int64(diskUsage),
Status: status.Status,
Cpu: status.Cpu,
Memory: status.Memory,
Disk: int64(diskUsage),
Phase: status.Phase,
ValuesTemplate: status.ValuesTemplate,
Readme: status.Readme,
}
return res, nil
}
@ -325,21 +328,39 @@ func (a *ApplicationAction) GetDetectProcess(ctx context.Context, app *dbmodel.A
return conditions, nil
}
func (a *ApplicationAction) Install(ctx context.Context, app *dbmodel.Application, values string) error {
nctx, cancel := context.WithTimeout(ctx, 3*time.Second)
func (a *ApplicationAction) Install(ctx context.Context, app *dbmodel.Application, values string) ([]*pb.AppService, error) {
ctx1, cancel := context.WithTimeout(ctx, 3*time.Second)
defer cancel()
helmApp, err := a.rainbondClient.RainbondV1alpha1().HelmApps(app.TenantID).Get(nctx, app.AppName, metav1.GetOptions{})
helmApp, err := a.rainbondClient.RainbondV1alpha1().HelmApps(app.TenantID).Get(ctx1, app.AppName, metav1.GetOptions{})
if err != nil {
if k8sErrors.IsNotFound(err) {
return errors.Wrap(bcode.ErrApplicationNotFound, "install app")
return nil, errors.Wrap(bcode.ErrApplicationNotFound, "install app")
}
return errors.Wrap(err, "install app")
return nil, errors.Wrap(err, "install app")
}
//ctx2, cancel := context.WithTimeout(ctx, 30*time.Second)
//defer cancel()
//var services []*pb.AppService
//appServices, err := a.statusCli.ParseAppServices(ctx2, &pb.ParseAppServicesReq{
// AppID: app.AppID,
// Values: values,
//})
//if err != nil {
// logrus.Warningf("[ApplicationAction] [Install] parse services: %v", err)
//} else {
// services = appServices.Services
//}
ctx3, cancel := context.WithTimeout(ctx, 3*time.Second)
defer cancel()
helmApp.Spec.Values = values
_, err = a.rainbondClient.RainbondV1alpha1().HelmApps(app.TenantID).Update(nctx, helmApp, metav1.UpdateOptions{})
return errors.Wrap(err, "install app")
_, err = a.rainbondClient.RainbondV1alpha1().HelmApps(app.TenantID).Update(ctx3, helmApp, metav1.UpdateOptions{})
if err != nil {
return nil, err
}
return nil, errors.Wrap(err, "install app")
}
func (a *ApplicationAction) ListServices(ctx context.Context, app *dbmodel.Application) ([]*model.AppService, error) {

View File

@ -5,6 +5,7 @@ import (
"os"
"time"
"github.com/goodrain/rainbond/pkg/generated/clientset/versioned"
k8sutil "github.com/goodrain/rainbond/util/k8s"
"github.com/goodrain/rainbond/worker/controllers/helmapp"
"github.com/sirupsen/logrus"
@ -49,8 +50,9 @@ func main() {
// logrus.Fatal(err)
// }
//}
rainbondClient := versioned.NewForConfigOrDie(restcfg)
ctrl := helmapp.NewController(stopCh, restcfg, 5*time.Second, "/tmp/helm/repo/repositories.yaml", "/tmp/helm/cache")
ctrl := helmapp.NewController(stopCh, rainbondClient, 5*time.Second, "/tmp/helm/repo/repositories.yaml", "/tmp/helm/cache")
ctrl.Start()
select {}

View File

@ -85,8 +85,6 @@ spec:
- appName
- appStore
- eid
- revision
- values
- version
type: object
status:
@ -130,6 +128,10 @@ spec:
phase:
description: The phase of helm app
type: string
readme:
type: string
services:
type: string
status:
description: The status of helm app.
type: string

View File

@ -218,6 +218,10 @@ func ReturnBcodeError(r *http.Request, w http.ResponseWriter, err error) {
result.Msg = err.Error()
}
if berr.GetStatus() == 500 {
logrus.Errorf("path: %s\n: %+v", r.RequestURI, err)
}
r = r.WithContext(context.WithValue(r.Context(), render.StatusCtxKey, status))
render.DefaultResponder(w, r, result)
}

View File

@ -69,6 +69,7 @@ func (i *Informer) Start(stop chan struct{}) {
go i.HorizontalPodAutoscaler.Run(stop)
go i.Claims.Run(stop)
go i.CRD.Run(stop)
go i.HelmApp.Run(stop)
}
//Ready if all kube informers is syncd, store is ready

View File

@ -120,12 +120,15 @@ func (a *App) InstallOrUpdate() error {
}
var buf bytes.Buffer
logrus.Debugf("name: %s; namespace: %s; chart: %s; install helm app", a.name, a.namespace, a.Chart())
if err := a.helm.Install(a.name, a.namespace, a.Chart(), values, &buf); err != nil {
return err
}
logrus.Infof("install: %s", buf.String())
logrus.Infof("[App] [InstallOrUpdate] %s", buf.String())
return nil
}
// TODO: upgrade
return nil
}
@ -166,12 +169,7 @@ func (a *App) ParseChart() (string, string, error) {
return values, readme, err
}
func (a *App) parseServices() ([]*corev1.Service, error) {
manifests, err := a.helm.Manifests(a.name, a.namespace, a.Chart(), ioutil.Discard)
if err != nil {
return nil, errors.Wrap(err, "get manifests")
}
func (a *App) parseServices(manifests string) ([]*corev1.Service, error) {
// Create a local builder...
builder := resource.NewLocalBuilder().
// Configure with a scheme to get typed objects in the versions registered with the scheme.

View File

@ -52,12 +52,13 @@ func (h *Helm) PreInstall(name, namespace, chart string, out io.Writer) error {
}
func (h *Helm) Install(name, namespace, chart string, vals map[string]interface{}, out io.Writer) error {
// TODO: discard the output
_, err := h.install(name, namespace, chart, vals, false, out)
return err
}
func (h *Helm) Manifests(name, namespace, chart string, out io.Writer) (string, error) {
rel, err := h.install(name, namespace, chart, nil, true, out)
func (h *Helm) Manifests(name, namespace, chart string, vals map[string]interface{}, out io.Writer) (string, error) {
rel, err := h.install(name, namespace, chart, vals, true, out)
if err != nil {
return "", err
}

View File

@ -2254,6 +2254,53 @@ func (m *AppServices) GetServices() []*AppService {
return nil
}
type ParseAppServicesReq struct {
AppID string `protobuf:"bytes,1,opt,name=appID,proto3" json:"appID,omitempty"`
Values string `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ParseAppServicesReq) Reset() { *m = ParseAppServicesReq{} }
func (m *ParseAppServicesReq) String() string { return proto.CompactTextString(m) }
func (*ParseAppServicesReq) ProtoMessage() {}
func (*ParseAppServicesReq) Descriptor() ([]byte, []int) {
return fileDescriptor_f94cf1a886c479d6, []int{36}
}
func (m *ParseAppServicesReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ParseAppServicesReq.Unmarshal(m, b)
}
func (m *ParseAppServicesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ParseAppServicesReq.Marshal(b, m, deterministic)
}
func (m *ParseAppServicesReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_ParseAppServicesReq.Merge(m, src)
}
func (m *ParseAppServicesReq) XXX_Size() int {
return xxx_messageInfo_ParseAppServicesReq.Size(m)
}
func (m *ParseAppServicesReq) XXX_DiscardUnknown() {
xxx_messageInfo_ParseAppServicesReq.DiscardUnknown(m)
}
var xxx_messageInfo_ParseAppServicesReq proto.InternalMessageInfo
func (m *ParseAppServicesReq) GetAppID() string {
if m != nil {
return m.AppID
}
return ""
}
func (m *ParseAppServicesReq) GetValues() string {
if m != nil {
return m.Values
}
return ""
}
func init() {
proto.RegisterEnum("pb.ServiceVolumeStatus", ServiceVolumeStatus_name, ServiceVolumeStatus_value)
proto.RegisterEnum("pb.PodStatus_Type", PodStatus_Type_name, PodStatus_Type_value)
@ -2308,164 +2355,167 @@ func init() {
proto.RegisterType((*AppService)(nil), "pb.AppService")
proto.RegisterType((*AppService_Pod)(nil), "pb.AppService.Pod")
proto.RegisterType((*AppServices)(nil), "pb.AppServices")
proto.RegisterType((*ParseAppServicesReq)(nil), "pb.ParseAppServicesReq")
}
func init() { proto.RegisterFile("app_runtime_server.proto", fileDescriptor_f94cf1a886c479d6) }
var fileDescriptor_f94cf1a886c479d6 = []byte{
// 2418 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcd, 0x72, 0x1b, 0xc7,
0x11, 0x26, 0xfe, 0x81, 0x06, 0x01, 0x82, 0x23, 0x91, 0x84, 0x21, 0xcb, 0x92, 0x37, 0x92, 0x4a,
0x25, 0x39, 0xb4, 0xc4, 0x58, 0xb1, 0x64, 0x2b, 0x4e, 0x41, 0x00, 0x4c, 0x21, 0x01, 0x41, 0xd4,
0x02, 0x4c, 0xca, 0x55, 0xa9, 0x42, 0x2d, 0xb1, 0x63, 0x6a, 0xa3, 0xfd, 0x19, 0xef, 0x0f, 0x1d,
0x1c, 0x9d, 0x57, 0xc8, 0x23, 0xe4, 0x90, 0x43, 0x72, 0x4b, 0xce, 0x7e, 0x85, 0x3c, 0x8a, 0x2f,
0xb9, 0xe4, 0x96, 0xea, 0x99, 0xd9, 0x5f, 0x2c, 0xa5, 0x28, 0x95, 0x54, 0x6e, 0xdb, 0x3d, 0x5f,
0x4f, 0xf7, 0xf4, 0xf4, 0xf4, 0x74, 0xcf, 0x42, 0x57, 0x63, 0x6c, 0xe9, 0x06, 0xb6, 0x6f, 0x58,
0x74, 0xe9, 0x51, 0xf7, 0x92, 0xba, 0x87, 0xcc, 0x75, 0x7c, 0x87, 0x14, 0xd9, 0xb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x99, 0x92, 0x29, 0xb1, 0x11, 0x24, 0x5b, 0xb0, 0x50, 0x74, 0xdd, 0x2f, 0xf8, 0xfe, 0xf5, 0x19,
0x4b, 0x9d, 0xb7, 0x3c, 0xff, 0x7f, 0xf0, 0xe6, 0x4b, 0x8b, 0x87, 0xf1, 0x0d, 0xdc, 0xd0, 0x97,
0xd4, 0xb4, 0xf2, 0x92, 0x20, 0xc8, 0x13, 0x83, 0xd6, 0x1f, 0xe4, 0x27, 0x3f, 0xb4, 0xe8, 0x11,
0xec, 0xe0, 0x2c, 0xc9, 0x0c, 0x92, 0x94, 0xdc, 0x49, 0xe7, 0x0e, 0x4f, 0xd9, 0x3a, 0xaf, 0xf2,
0x9f, 0x63, 0x3f, 0xf9, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x72, 0xc8, 0xae, 0x38, 0x1b,
0x00, 0x00,
// 2456 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4b, 0x73, 0x1b, 0xc7,
0x11, 0x26, 0x00, 0xe2, 0xd5, 0x20, 0x40, 0x70, 0xf8, 0x82, 0x61, 0xcb, 0x92, 0x37, 0x92, 0x4a,
0x25, 0x39, 0xb4, 0xc4, 0x58, 0xb1, 0x64, 0x2b, 0x4a, 0x41, 0x00, 0x4c, 0x21, 0x01, 0x41, 0xd4,
0x02, 0x4c, 0xca, 0x55, 0xa9, 0x42, 0x2d, 0xb1, 0x63, 0x6a, 0xa3, 0x7d, 0x8c, 0xf7, 0x41, 0x07,
0xc7, 0xe4, 0x2f, 0xe4, 0x27, 0xe4, 0x90, 0x43, 0x72, 0x4b, 0xce, 0xae, 0xca, 0x2f, 0xc8, 0x4f,
0xf1, 0x25, 0x97, 0xdc, 0x52, 0x3d, 0x33, 0xfb, 0xc4, 0x52, 0x8a, 0x52, 0x49, 0xe5, 0xb6, 0xdd,
0xd3, 0xdf, 0x74, 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0xfc, 0xd1, 0xeb, 0xda, 0x2e,
0xb9, 0x1b, 0x9b, 0x29, 0x26, 0xc9, 0x6d, 0x65, 0xc5, 0x24, 0xd7, 0x76, 0xb9, 0x6b, 0x93, 0xe4,
0xf6, 0xa2, 0x44, 0x3e, 0xbf, 0x99, 0xff, 0xce, 0x24, 0x9f, 0xf2, 0xe0, 0x8b, 0x4b, 0x52, 0x1e,
0x0b, 0x99, 0xf6, 0xab, 0x1b, 0x16, 0x94, 0x82, 0xc3, 0x51, 0xb8, 0x8f, 0x99, 0xba, 0x2b, 0xb1,
0x11, 0x24, 0x5b, 0xf5, 0x50, 0x74, 0xdd, 0xcf, 0xf8, 0xfe, 0xf5, 0x18, 0x4b, 0x9d, 0xb7, 0x3c,
0xff, 0x7f, 0xf8, 0xe6, 0x9b, 0x8f, 0x87, 0xf1, 0xfb, 0xb8, 0xa1, 0x2f, 0xa9, 0x69, 0xe5, 0x65,
0x52, 0x90, 0x27, 0x06, 0xad, 0x3f, 0xcc, 0xcf, 0xa0, 0x68, 0xd1, 0x43, 0xd8, 0xc6, 0x59, 0x92,
0x69, 0x28, 0x89, 0xdc, 0x4e, 0x27, 0x20, 0x44, 0x3c, 0x87, 0x76, 0x36, 0xf3, 0x10, 0xae, 0x20,
0x27, 0x1f, 0xe5, 0xe0, 0x2f, 0x2a, 0xfc, 0x0f, 0xdd, 0x8f, 0xfe, 0x15, 0x00, 0x00, 0xff, 0xff,
0x60, 0x8b, 0x81, 0x4b, 0xbd, 0x1b, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -2497,6 +2547,7 @@ type AppRuntimeSyncClient interface {
GetAppVolumeStatus(ctx context.Context, in *ServiceRequest, opts ...grpc.CallOption) (*ServiceVolumeStatusMessage, error)
ListHelmAppDetectConditions(ctx context.Context, in *AppReq, opts ...grpc.CallOption) (*AppDetectConditions, error)
ListAppServices(ctx context.Context, in *AppReq, opts ...grpc.CallOption) (*AppServices, error)
ParseAppServices(ctx context.Context, in *ParseAppServicesReq, opts ...grpc.CallOption) (*AppServices, error)
}
type appRuntimeSyncClient struct {
@ -2651,6 +2702,15 @@ func (c *appRuntimeSyncClient) ListAppServices(ctx context.Context, in *AppReq,
return out, nil
}
func (c *appRuntimeSyncClient) ParseAppServices(ctx context.Context, in *ParseAppServicesReq, opts ...grpc.CallOption) (*AppServices, error) {
out := new(AppServices)
err := c.cc.Invoke(ctx, "/pb.AppRuntimeSync/ParseAppServices", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// AppRuntimeSyncServer is the server API for AppRuntimeSync service.
type AppRuntimeSyncServer interface {
// Deprecated: -
@ -2670,6 +2730,7 @@ type AppRuntimeSyncServer interface {
GetAppVolumeStatus(context.Context, *ServiceRequest) (*ServiceVolumeStatusMessage, error)
ListHelmAppDetectConditions(context.Context, *AppReq) (*AppDetectConditions, error)
ListAppServices(context.Context, *AppReq) (*AppServices, error)
ParseAppServices(context.Context, *ParseAppServicesReq) (*AppServices, error)
}
func RegisterAppRuntimeSyncServer(s *grpc.Server, srv AppRuntimeSyncServer) {
@ -2964,6 +3025,24 @@ func _AppRuntimeSync_ListAppServices_Handler(srv interface{}, ctx context.Contex
return interceptor(ctx, in, info, handler)
}
func _AppRuntimeSync_ParseAppServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ParseAppServicesReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AppRuntimeSyncServer).ParseAppServices(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.AppRuntimeSync/ParseAppServices",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AppRuntimeSyncServer).ParseAppServices(ctx, req.(*ParseAppServicesReq))
}
return interceptor(ctx, in, info, handler)
}
var _AppRuntimeSync_serviceDesc = grpc.ServiceDesc{
ServiceName: "pb.AppRuntimeSync",
HandlerType: (*AppRuntimeSyncServer)(nil),
@ -3032,6 +3111,10 @@ var _AppRuntimeSync_serviceDesc = grpc.ServiceDesc{
MethodName: "ListAppServices",
Handler: _AppRuntimeSync_ListAppServices_Handler,
},
{
MethodName: "ParseAppServices",
Handler: _AppRuntimeSync_ParseAppServices_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "app_runtime_server.proto",

View File

@ -19,6 +19,7 @@ service AppRuntimeSync {
rpc GetAppVolumeStatus(ServiceRequest) returns(ServiceVolumeStatusMessage){}
rpc ListHelmAppDetectConditions(AppReq) returns(AppDetectConditions){}
rpc ListAppServices(AppReq) returns(AppServices){}
rpc ParseAppServices(ParseAppServicesReq) returns(AppServices){}
}
message Empty {}
@ -286,4 +287,10 @@ message AppService {
message AppServices {
repeated AppService services=1;
}
}
message ParseAppServicesReq {
string appID=1;
string values=2;
}

View File

@ -19,12 +19,24 @@
package server
import (
"bytes"
"context"
"encoding/base64"
"fmt"
"io/ioutil"
"net"
"strings"
"time"
"github.com/goodrain/rainbond/util/commonutil"
"github.com/goodrain/rainbond/worker/controllers/helmapp/helm"
"github.com/pkg/errors"
"helm.sh/helm/v3/pkg/kube"
"k8s.io/cli-runtime/pkg/genericclioptions"
"k8s.io/cli-runtime/pkg/resource"
"k8s.io/client-go/kubernetes/scheme"
"sigs.k8s.io/yaml"
"github.com/eapache/channels"
"github.com/goodrain/rainbond/cmd/worker/option"
"github.com/goodrain/rainbond/db"
@ -698,6 +710,14 @@ func (r *RuntimeServer) ListAppServices(ctx context.Context, in *pb.AppReq) (*pb
return nil, err
}
appServices := r.convertServices(services)
return &pb.AppServices{
Services: appServices,
}, nil
}
func (r *RuntimeServer) convertServices(services []*corev1.Service) []*pb.AppService {
var appServices []*pb.AppService
for _, svc := range services {
var tcpPorts []int32
@ -716,19 +736,19 @@ func (r *RuntimeServer) ListAppServices(ctx context.Context, in *pb.AppReq) (*pb
selector = selector.Add(*req)
}
var spods []*pb.AppService_Pod
pods, err := r.store.ListPods(svc.Namespace, selector)
if err != nil {
return nil, err
}
var spods []*pb.AppService_Pod
for _, pod := range pods {
podStatus := &pb.PodStatus{}
wutil.DescribePodStatus(r.clientset, pod, podStatus, k8sutil.DefListEventsByPod)
spods = append(spods, &pb.AppService_Pod{
Name: pod.Name,
Status: podStatus.TypeStr,
})
logrus.Warningf("parse services: %v", err)
} else {
for _, pod := range pods {
podStatus := &pb.PodStatus{}
wutil.DescribePodStatus(r.clientset, pod, podStatus, k8sutil.DefListEventsByPod)
spods = append(spods, &pb.AppService_Pod{
Name: pod.Name,
Status: podStatus.TypeStr,
})
}
}
appServices = append(appServices, &pb.AppService{
@ -738,6 +758,73 @@ func (r *RuntimeServer) ListAppServices(ctx context.Context, in *pb.AppReq) (*pb
Pods: spods,
})
}
return appServices
}
func (r *RuntimeServer) ParseAppServices(ctx context.Context, req *pb.ParseAppServicesReq) (*pb.AppServices, error) {
app, err := db.GetManager().ApplicationDao().GetAppByID(req.AppID)
if err != nil {
return nil, err
}
b, err := base64.StdEncoding.DecodeString(req.Values)
if err != nil {
return nil, errors.Wrap(err, "decode values")
}
vals := map[string]interface{}{}
if err := yaml.Unmarshal(b, &vals); err != nil {
return nil, errors.Wrap(err, "parse values")
}
configFlags := genericclioptions.NewConfigFlags(true)
configFlags.Namespace = commonutil.String(app.TenantID)
kubeClient := kube.New(configFlags)
h, err := helm.NewHelm(kubeClient, configFlags, "/tmp/helm/repo/repositories.yaml", "/tmp/helm/cache")
if err != nil {
return nil, err
}
manifests, err := h.Manifests(app.AppName, app.TenantID, app.AppStoreName+"/"+app.AppTemplateName, vals, ioutil.Discard)
if err != nil {
return nil, err
}
// Create a local builder...
builder := resource.NewLocalBuilder().
// Configure with a scheme to get typed objects in the versions registered with the scheme.
// As an alternative, could call Unstructured() to get unstructured objects.
WithScheme(scheme.Scheme, scheme.Scheme.PrioritizedVersionsAllGroups()...).
// Provide input via a Reader.
// As an alternative, could call Path(false, "/path/to/file") to read from a file.
Stream(bytes.NewBufferString(manifests), "input").
// Flatten items contained in List objects
Flatten().
// Accumulate as many items as possible
ContinueOnError()
// Run the builder
result := builder.Do()
items, err := result.Infos()
if err != nil {
return nil, errors.WithMessage(err, "resource infos")
}
var services []*corev1.Service
for _, item := range items {
if item.Object.GetObjectKind().GroupVersionKind().Kind != "Service" {
continue
}
svc, ok := item.Object.(*corev1.Service)
if !ok {
continue
}
services = append(services, svc)
}
appServices := r.convertServices(services)
return &pb.AppServices{
Services: appServices,