argo-cd/controller/services/application.proto
Jesse Suen 83fb5fb388
Rename 'controlled resources' to 'managed resources' (#850)
Rename 'resources tree' to 'resource tree'
2018-11-30 10:32:31 -08:00

29 lines
811 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.ResourceState items = 1;
}
// ApplicationService returns information about application
service ApplicationService {
rpc ResourceTree(ResourcesQuery) returns (ResourceTreeResponse) {
}
rpc ManagedResources(ResourcesQuery) returns (ManagedResourcesResponse) {
}
}