Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(*) generate the remaining mesh resources #2311

Merged
merged 1 commit into from
Jul 13, 2021
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
13 changes: 7 additions & 6 deletions api/mesh/v1alpha1/dataplane.pb.go

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

1 change: 1 addition & 0 deletions api/mesh/v1alpha1/dataplane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ message Dataplane {

option (kuma.mesh.resource).name = "DataplaneResource";
option (kuma.mesh.resource).type = "Dataplane";
option (kuma.mesh.resource).package = "mesh";

// Networking describes inbound and outbound interfaces of a dataplane.
message Networking {
Expand Down
242 changes: 124 additions & 118 deletions api/mesh/v1alpha1/health_check.pb.go

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion api/mesh/v1alpha1/health_check.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ package kuma.mesh.v1alpha1;

option go_package = "github.com/kumahq/kuma/api/mesh/v1alpha1";

import "mesh/options.proto";
import "mesh/v1alpha1/selector.proto";

import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";
import "validate/validate.proto";
Expand All @@ -19,6 +19,11 @@ option (doc.config) = {

// HealthCheck defines configuration for health checking.
message HealthCheck {

option (kuma.mesh.resource).name = "HealthCheckResource";
option (kuma.mesh.resource).type = "HealthCheck";
option (kuma.mesh.resource).package = "mesh";

// List of selectors to match dataplanes that should be configured to do
// health checks.
repeated Selector sources = 1 [ (validate.rules).repeated .min_items = 1 ];
Expand Down
34 changes: 21 additions & 13 deletions api/mesh/v1alpha1/zone_ingress_insight.pb.go

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

7 changes: 7 additions & 0 deletions api/mesh/v1alpha1/zone_ingress_insight.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@ package kuma.mesh.v1alpha1;

option go_package = "github.com/kumahq/kuma/api/mesh/v1alpha1";

import "mesh/options.proto";
import "mesh/v1alpha1/dataplane_insight.proto";

// ZoneIngressInsight defines the observed state of a Zone Ingress.
message ZoneIngressInsight {

option (kuma.mesh.resource).name = "ZoneIngressInsightResource";
option (kuma.mesh.resource).type = "ZoneIngressInsight";
option (kuma.mesh.resource).package = "mesh";
option (kuma.mesh.resource).global = true;
option (kuma.mesh.resource).skip_validation = true;

// List of ADS subscriptions created by a given Zone Kuma CP.
repeated DiscoverySubscription subscriptions = 1;
}
97 changes: 0 additions & 97 deletions pkg/core/resources/apis/mesh/dataplane.go

This file was deleted.

94 changes: 0 additions & 94 deletions pkg/core/resources/apis/mesh/health_check.go

This file was deleted.

Loading