Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
803 changes: 708 additions & 95 deletions sdk/proto/command.pb.go

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions sdk/proto/command.proto
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,25 @@ message DataplaneStatus {
repeated NginxHealth healths = 5 [(gogoproto.jsontag) = "healths" ]; // moving to DataplaneSoftwareHealth
repeated DataplaneSoftwareDetails dataplane_software_details = 6 [(gogoproto.jsontag) = "dataplane_software_details"];
repeated DataplaneSoftwareHealth dataplane_software_healths = 7 [(gogoproto.jsontag) = "dataplane_software_healths"];
repeated AgentActivityStatus agent_activity_status = 8 [(gogoproto.jsontag) = "agent_activity_status" ];
}

message AgentActivityStatus {
oneof Status {
NginxConfigStatus nginx_config_status = 1 [(gogoproto.jsontag) = "nginx_config_status" ];
}
}

message NginxConfigStatus {
string correlation_id = 1 [(gogoproto.jsontag) = "correlation_id" ];
Status status = 2 [(gogoproto.jsontag) = "status" ];
string message = 3 [(gogoproto.jsontag) = "message" ];

enum Status {
PENDING = 0;
OK = 1;
ERROR = 2;
}
}

message DataplaneSoftwareHealth {
Expand Down
2 changes: 1 addition & 1 deletion sdk/proto/nginx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ message ErrorLog {
string log_level = 2 [(gogoproto.jsontag) = "log_level" ];
string permissions = 3 [(gogoproto.jsontag) = "permissions" ];
bool readable = 4 [(gogoproto.jsontag) = "readable" ];
}
}

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

803 changes: 708 additions & 95 deletions vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions vendor/github.com/nginx/agent/sdk/v2/proto/command.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/nginx/agent/sdk/v2/proto/nginx.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.