get.porter.sh/porter@v1.3.0/proto/porterapis/installation/v1alpha1/installation.proto (about) 1 syntax = "proto3"; 2 //option go_package = "get.porter.sh/porter/gen/proto/go/installation/v1alpha1"; 3 import "google/protobuf/timestamp.proto"; 4 import "google/protobuf/any.proto"; 5 import "google/protobuf/struct.proto"; 6 package installation.v1alpha1; 7 8 message Bundle { 9 string repository = 1; 10 string version = 2; 11 } 12 13 message InstallationStatus { 14 string runId = 1; 15 string action = 2; 16 string resultId = 3; 17 string resultStatus = 4; 18 google.protobuf.Timestamp created = 5; 19 google.protobuf.Timestamp modified = 6; 20 google.protobuf.Timestamp installed = 7; 21 google.protobuf.Timestamp uninstalled = 8; 22 string bundleReference = 9; 23 string bundleVersion = 10; 24 string bundleDigest = 11; 25 } 26 27 message Calculated { 28 string displayInstallationState = 1; 29 string displayInstallationStatus = 2; 30 google.protobuf.NullValue resolvedParameters = 3; 31 } 32 message Installation { 33 // Unique installation ID 34 string id = 1; 35 string schemaType = 2; 36 string schemaVersion = 3; 37 string name = 4; 38 string namespace = 5; 39 Bundle bundle = 6; 40 repeated string credentialSets = 7; 41 repeated string parameterSets = 8; 42 InstallationStatus status = 9; 43 Calculated calculated = 10 [json_name="_calculated"]; 44 } 45 46 //Installations 47 message ListInstallationsRequest { 48 string name = 1; 49 optional string namespace = 2; 50 optional int64 limit = 3; 51 optional int64 skip = 4; 52 map<string, string> labels = 5; 53 optional bool allNamespaces = 6; 54 } 55 56 message ListInstallationsResponse { 57 repeated Installation installation = 1; 58 } 59 60 //InstallationRuns 61 message InstallationRun { 62 int64 id = 1; 63 string bundle = 2; 64 string version = 3; 65 string action = 4; 66 map<string, string> paramters = 5; 67 google.protobuf.Timestamp started = 6; 68 google.protobuf.Timestamp stopped = 7; 69 string status = 8; 70 } 71 72 message ListInstallationRunsRequest { 73 Installation installation = 1; 74 } 75 76 message ListInstallationRunsResponse { 77 repeated InstallationRun run = 1; 78 } 79 80 message PorterValue { 81 string name = 1; 82 string type = 2; 83 bool sensitive = 3; 84 google.protobuf.Value value = 4; 85 } 86 87 message InstallationOutputs { 88 repeated PorterValue output = 1; 89 } 90 91 message ListInstallationLatestOutputRequest { 92 string name = 1; 93 optional string namespace = 2; 94 } 95 96 //InstallationRunOutputs 97 message ListInstallationLatestOutputResponse { 98 repeated PorterValue outputs = 1; 99 }