-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(ci): generate fabric8 models 0.1.0-alpha.10 for robot.roboscale…
….io v0.2.6-alpha.13, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.10
- Loading branch information
1 parent
35dad19
commit 6638011
Showing
11 changed files
with
302 additions
and
5 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
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
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
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
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
41 changes: 41 additions & 0 deletions
41
src/main/java/io/roboscale/robot/v1alpha1/metricsexporterspec/Storage.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,41 @@ | ||
package io.roboscale.robot.v1alpha1.metricsexporterspec; | ||
|
||
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) | ||
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"interval","track"}) | ||
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") | ||
public class Storage implements io.fabric8.kubernetes.api.model.KubernetesResource { | ||
|
||
/** | ||
* Watching latency. | ||
*/ | ||
@com.fasterxml.jackson.annotation.JsonProperty("interval") | ||
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Watching latency.") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private Long interval; | ||
|
||
public Long getInterval() { | ||
return interval; | ||
} | ||
|
||
public void setInterval(Long interval) { | ||
this.interval = interval; | ||
} | ||
|
||
/** | ||
* MetricsExporter watches storage usage in the host machine if it's set to `true`. | ||
*/ | ||
@com.fasterxml.jackson.annotation.JsonProperty("track") | ||
@com.fasterxml.jackson.annotation.JsonPropertyDescription("MetricsExporter watches storage usage in the host machine if it's set to `true`.") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private Boolean track; | ||
|
||
public Boolean getTrack() { | ||
return track; | ||
} | ||
|
||
public void setTrack(Boolean track) { | ||
this.track = track; | ||
} | ||
} | ||
|
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
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
41 changes: 41 additions & 0 deletions
41
src/main/java/io/roboscale/robot/v1alpha1/metricsexporterstatus/usage/Storage.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,41 @@ | ||
package io.roboscale.robot.v1alpha1.metricsexporterstatus.usage; | ||
|
||
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) | ||
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"lastUpdateTimestamp","usage"}) | ||
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") | ||
public class Storage implements io.fabric8.kubernetes.api.model.KubernetesResource { | ||
|
||
/** | ||
* Last update time. | ||
*/ | ||
@com.fasterxml.jackson.annotation.JsonProperty("lastUpdateTimestamp") | ||
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Last update time.") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private String lastUpdateTimestamp; | ||
|
||
public String getLastUpdateTimestamp() { | ||
return lastUpdateTimestamp; | ||
} | ||
|
||
public void setLastUpdateTimestamp(String lastUpdateTimestamp) { | ||
this.lastUpdateTimestamp = lastUpdateTimestamp; | ||
} | ||
|
||
/** | ||
* Usage values of filesystems. | ||
*/ | ||
@com.fasterxml.jackson.annotation.JsonProperty("usage") | ||
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Usage values of filesystems.") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private java.util.Map<java.lang.String, io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.storage.Usage> usage; | ||
|
||
public java.util.Map<java.lang.String, io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.storage.Usage> getUsage() { | ||
return usage; | ||
} | ||
|
||
public void setUsage(java.util.Map<java.lang.String, io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.storage.Usage> usage) { | ||
this.usage = usage; | ||
} | ||
} | ||
|
73 changes: 73 additions & 0 deletions
73
src/main/java/io/roboscale/robot/v1alpha1/metricsexporterstatus/usage/storage/Usage.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,73 @@ | ||
package io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.storage; | ||
|
||
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) | ||
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountedOn","percentage","size","used"}) | ||
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") | ||
public class Usage implements io.fabric8.kubernetes.api.model.KubernetesResource { | ||
|
||
/** | ||
* Directory that the filesystem mounted on. | ||
*/ | ||
@com.fasterxml.jackson.annotation.JsonProperty("mountedOn") | ||
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Directory that the filesystem mounted on.") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private String mountedOn; | ||
|
||
public String getMountedOn() { | ||
return mountedOn; | ||
} | ||
|
||
public void setMountedOn(String mountedOn) { | ||
this.mountedOn = mountedOn; | ||
} | ||
|
||
/** | ||
* Usage percentage of a filesystem. | ||
*/ | ||
@com.fasterxml.jackson.annotation.JsonProperty("percentage") | ||
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Usage percentage of a filesystem.") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private String percentage; | ||
|
||
public String getPercentage() { | ||
return percentage; | ||
} | ||
|
||
public void setPercentage(String percentage) { | ||
this.percentage = percentage; | ||
} | ||
|
||
/** | ||
* Size of the filesystem. | ||
*/ | ||
@com.fasterxml.jackson.annotation.JsonProperty("size") | ||
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Size of the filesystem.") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private String size; | ||
|
||
public String getSize() { | ||
return size; | ||
} | ||
|
||
public void setSize(String size) { | ||
this.size = size; | ||
} | ||
|
||
/** | ||
* Size of the used parts of a filesystem. | ||
*/ | ||
@com.fasterxml.jackson.annotation.JsonProperty("used") | ||
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Size of the used parts of a filesystem.") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private String used; | ||
|
||
public String getUsed() { | ||
return used; | ||
} | ||
|
||
public void setUsed(String used) { | ||
this.used = used; | ||
} | ||
} | ||
|
45 changes: 45 additions & 0 deletions
45
src/main/java/io/roboscale/robot/v1alpha1/robotstatus/HostDirs.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,45 @@ | ||
package io.roboscale.robot.v1alpha1.robotstatus; | ||
|
||
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) | ||
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"hostPath","internalPath","name"}) | ||
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") | ||
public class HostDirs implements io.fabric8.kubernetes.api.model.KubernetesResource { | ||
|
||
@com.fasterxml.jackson.annotation.JsonProperty("hostPath") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private String hostPath; | ||
|
||
public String getHostPath() { | ||
return hostPath; | ||
} | ||
|
||
public void setHostPath(String hostPath) { | ||
this.hostPath = hostPath; | ||
} | ||
|
||
@com.fasterxml.jackson.annotation.JsonProperty("internalPath") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private String internalPath; | ||
|
||
public String getInternalPath() { | ||
return internalPath; | ||
} | ||
|
||
public void setInternalPath(String internalPath) { | ||
this.internalPath = internalPath; | ||
} | ||
|
||
@com.fasterxml.jackson.annotation.JsonProperty("name") | ||
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) | ||
private String name; | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
} | ||
|