forked from fabric8io/kubernetes-client
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fabric8io#3505: Update OpenShift Models to latest available versions
Update OpenShift Model Go dependencies to the latest available versions. Signed-off-by: Rohan Kumar <[email protected]>
- Loading branch information
1 parent
6217d05
commit c24e19c
Showing
120 changed files
with
13,165 additions
and
330 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
Large diffs are not rendered by default.
Oops, something went wrong.
102 changes: 102 additions & 0 deletions
102
...rc/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxy.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,102 @@ | ||
|
||
package io.fabric8.openshift.api.model.console.v1alpha1; | ||
|
||
import java.util.ArrayList; | ||
import java.util.HashMap; | ||
import java.util.List; | ||
import java.util.Map; | ||
import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
import io.fabric8.kubernetes.api.model.Container; | ||
import io.fabric8.kubernetes.api.model.IntOrString; | ||
import io.fabric8.kubernetes.api.model.KubernetesResource; | ||
import io.fabric8.kubernetes.api.model.LabelSelector; | ||
import io.fabric8.kubernetes.api.model.LocalObjectReference; | ||
import io.fabric8.kubernetes.api.model.ObjectMeta; | ||
import io.fabric8.kubernetes.api.model.ObjectReference; | ||
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; | ||
import io.fabric8.kubernetes.api.model.PodTemplateSpec; | ||
import io.fabric8.kubernetes.api.model.ResourceRequirements; | ||
import io.sundr.builder.annotations.Buildable; | ||
import io.sundr.builder.annotations.BuildableReference; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
import lombok.experimental.Accessors; | ||
|
||
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({ | ||
"apiVersion", | ||
"kind", | ||
"metadata", | ||
"services" | ||
}) | ||
@ToString | ||
@EqualsAndHashCode | ||
@Setter | ||
@Accessors(prefix = { | ||
"_", | ||
"" | ||
}) | ||
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { | ||
@BuildableReference(ObjectMeta.class), | ||
@BuildableReference(LabelSelector.class), | ||
@BuildableReference(Container.class), | ||
@BuildableReference(PodTemplateSpec.class), | ||
@BuildableReference(ResourceRequirements.class), | ||
@BuildableReference(IntOrString.class), | ||
@BuildableReference(ObjectReference.class), | ||
@BuildableReference(LocalObjectReference.class), | ||
@BuildableReference(PersistentVolumeClaim.class) | ||
}) | ||
public class ConsolePluginProxy implements KubernetesResource | ||
{ | ||
|
||
@JsonProperty("services") | ||
private List<ConsolePluginProxyService> services = new ArrayList<ConsolePluginProxyService>(); | ||
@JsonIgnore | ||
private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
|
||
/** | ||
* No args constructor for use in serialization | ||
* | ||
*/ | ||
public ConsolePluginProxy() { | ||
} | ||
|
||
/** | ||
* | ||
* @param services | ||
*/ | ||
public ConsolePluginProxy(List<ConsolePluginProxyService> services) { | ||
super(); | ||
this.services = services; | ||
} | ||
|
||
@JsonProperty("services") | ||
public List<ConsolePluginProxyService> getServices() { | ||
return services; | ||
} | ||
|
||
@JsonProperty("services") | ||
public void setServices(List<ConsolePluginProxyService> services) { | ||
this.services = services; | ||
} | ||
|
||
@JsonAnyGetter | ||
public Map<String, Object> getAdditionalProperties() { | ||
return this.additionalProperties; | ||
} | ||
|
||
@JsonAnySetter | ||
public void setAdditionalProperty(String name, Object value) { | ||
this.additionalProperties.put(name, value); | ||
} | ||
|
||
} |
160 changes: 160 additions & 0 deletions
160
...rated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginProxyService.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,160 @@ | ||
|
||
package io.fabric8.openshift.api.model.console.v1alpha1; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
import io.fabric8.kubernetes.api.model.Container; | ||
import io.fabric8.kubernetes.api.model.IntOrString; | ||
import io.fabric8.kubernetes.api.model.KubernetesResource; | ||
import io.fabric8.kubernetes.api.model.LabelSelector; | ||
import io.fabric8.kubernetes.api.model.LocalObjectReference; | ||
import io.fabric8.kubernetes.api.model.ObjectMeta; | ||
import io.fabric8.kubernetes.api.model.ObjectReference; | ||
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; | ||
import io.fabric8.kubernetes.api.model.PodTemplateSpec; | ||
import io.fabric8.kubernetes.api.model.ResourceRequirements; | ||
import io.sundr.builder.annotations.Buildable; | ||
import io.sundr.builder.annotations.BuildableReference; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
import lombok.experimental.Accessors; | ||
|
||
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({ | ||
"apiVersion", | ||
"kind", | ||
"metadata", | ||
"authorize", | ||
"caCertificate", | ||
"name", | ||
"namespace", | ||
"port" | ||
}) | ||
@ToString | ||
@EqualsAndHashCode | ||
@Setter | ||
@Accessors(prefix = { | ||
"_", | ||
"" | ||
}) | ||
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { | ||
@BuildableReference(ObjectMeta.class), | ||
@BuildableReference(LabelSelector.class), | ||
@BuildableReference(Container.class), | ||
@BuildableReference(PodTemplateSpec.class), | ||
@BuildableReference(ResourceRequirements.class), | ||
@BuildableReference(IntOrString.class), | ||
@BuildableReference(ObjectReference.class), | ||
@BuildableReference(LocalObjectReference.class), | ||
@BuildableReference(PersistentVolumeClaim.class) | ||
}) | ||
public class ConsolePluginProxyService implements KubernetesResource | ||
{ | ||
|
||
@JsonProperty("authorize") | ||
private Boolean authorize; | ||
@JsonProperty("caCertificate") | ||
private String caCertificate; | ||
@JsonProperty("name") | ||
private String name; | ||
@JsonProperty("namespace") | ||
private String namespace; | ||
@JsonProperty("port") | ||
private Integer port; | ||
@JsonIgnore | ||
private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
|
||
/** | ||
* No args constructor for use in serialization | ||
* | ||
*/ | ||
public ConsolePluginProxyService() { | ||
} | ||
|
||
/** | ||
* | ||
* @param port | ||
* @param name | ||
* @param namespace | ||
* @param authorize | ||
* @param caCertificate | ||
*/ | ||
public ConsolePluginProxyService(Boolean authorize, String caCertificate, String name, String namespace, Integer port) { | ||
super(); | ||
this.authorize = authorize; | ||
this.caCertificate = caCertificate; | ||
this.name = name; | ||
this.namespace = namespace; | ||
this.port = port; | ||
} | ||
|
||
@JsonProperty("authorize") | ||
public Boolean getAuthorize() { | ||
return authorize; | ||
} | ||
|
||
@JsonProperty("authorize") | ||
public void setAuthorize(Boolean authorize) { | ||
this.authorize = authorize; | ||
} | ||
|
||
@JsonProperty("caCertificate") | ||
public String getCaCertificate() { | ||
return caCertificate; | ||
} | ||
|
||
@JsonProperty("caCertificate") | ||
public void setCaCertificate(String caCertificate) { | ||
this.caCertificate = caCertificate; | ||
} | ||
|
||
@JsonProperty("name") | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
@JsonProperty("name") | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
@JsonProperty("namespace") | ||
public String getNamespace() { | ||
return namespace; | ||
} | ||
|
||
@JsonProperty("namespace") | ||
public void setNamespace(String namespace) { | ||
this.namespace = namespace; | ||
} | ||
|
||
@JsonProperty("port") | ||
public Integer getPort() { | ||
return port; | ||
} | ||
|
||
@JsonProperty("port") | ||
public void setPort(Integer port) { | ||
this.port = port; | ||
} | ||
|
||
@JsonAnyGetter | ||
public Map<String, Object> getAdditionalProperties() { | ||
return this.additionalProperties; | ||
} | ||
|
||
@JsonAnySetter | ||
public void setAdditionalProperty(String name, Object value) { | ||
this.additionalProperties.put(name, value); | ||
} | ||
|
||
} |
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
Oops, something went wrong.