syntax = "proto3"; option go_package = "github.com/argoproj/argo-cd/controller/services"; package github.com.argoproj.argo_cd.controller.services; import "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1/generated.proto"; message ResourcesQuery { string applicationName = 1; } message ResourceTreeResponse { repeated github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.ResourceNode items = 1; } message ManagedResourcesResponse { repeated github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.ResourceDiff items = 1; } // ApplicationService returns information about application service ApplicationService { rpc ResourceTree(ResourcesQuery) returns (ResourceTreeResponse) { } rpc ManagedResources(ResourcesQuery) returns (ManagedResourcesResponse) { } }