mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-20 07:48:39 +00:00
29 lines
810 B
Protocol Buffer
29 lines
810 B
Protocol Buffer
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) {
|
|
}
|
|
}
|