forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request quarkusio#46386 from ch007m/kubernetes-devservice
Create a KubernetesDevServiceInfoBuildItem
- Loading branch information
Showing
2 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...spi/src/main/java/io/quarkus/kubernetes/client/spi/KubernetesDevServiceInfoBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package io.quarkus.kubernetes.client.spi; | ||
|
||
import io.quarkus.builder.item.SimpleBuildItem; | ||
|
||
public final class KubernetesDevServiceInfoBuildItem extends SimpleBuildItem { | ||
private final String kubeConfig; | ||
private final String containerId; | ||
|
||
public KubernetesDevServiceInfoBuildItem(String kubeConfig, String containerId) { | ||
this.kubeConfig = kubeConfig; | ||
this.containerId = containerId; | ||
} | ||
|
||
public String getKubeConfig() { | ||
return kubeConfig; | ||
} | ||
|
||
public String getContainerId() { | ||
return containerId; | ||
} | ||
|
||
} |