Skip to content

Commit

Permalink
chore(deps): bump sigs.k8s.io/cluster-api from 1.8.5 to 1.9.3 in /kub…
Browse files Browse the repository at this point in the history
…ernetes-model-generator/openapi/generator (6751)

chore(deps): bump sigs.k8s.io/cluster-api

Bumps [sigs.k8s.io/cluster-api](https://github.com/kubernetes-sigs/cluster-api) from 1.8.5 to 1.9.3.
- [Release notes](https://github.com/kubernetes-sigs/cluster-api/releases)
- [Commits](kubernetes-sigs/cluster-api@v1.8.5...v1.9.3)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/cluster-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
---
feat(openapi): regenerate model for sigs.k8s.io/cluster-api 1.9.3

Signed-off-by: Marc Nuri <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Nuri <[email protected]>
  • Loading branch information
dependabot[bot] and manusa authored Jan 8, 2025
1 parent e99a327 commit 1aca1cb
Show file tree
Hide file tree
Showing 8 changed files with 347 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@

package io.fabric8.kubernetes.api.model.clusterapi.v1beta1;

import java.util.LinkedHashMap;
import java.util.Map;
import javax.annotation.Generated;
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.builder.Editable;
import io.fabric8.kubernetes.api.model.KubernetesResource;
import io.sundr.builder.annotations.Buildable;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"nodeDrainStartTime",
"waitForNodeVolumeDetachStartTime"
})
@ToString
@EqualsAndHashCode
@Accessors(prefix = {
"_",
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder")
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
public class MachineDeletionStatus implements Editable<MachineDeletionStatusBuilder>, KubernetesResource
{

@JsonProperty("nodeDrainStartTime")
private String nodeDrainStartTime;
@JsonProperty("waitForNodeVolumeDetachStartTime")
private String waitForNodeVolumeDetachStartTime;
@JsonIgnore
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();

/**
* No args constructor for use in serialization
*
*/
public MachineDeletionStatus() {
}

public MachineDeletionStatus(String nodeDrainStartTime, String waitForNodeVolumeDetachStartTime) {
super();
this.nodeDrainStartTime = nodeDrainStartTime;
this.waitForNodeVolumeDetachStartTime = waitForNodeVolumeDetachStartTime;
}

@JsonProperty("nodeDrainStartTime")
public String getNodeDrainStartTime() {
return nodeDrainStartTime;
}

@JsonProperty("nodeDrainStartTime")
public void setNodeDrainStartTime(String nodeDrainStartTime) {
this.nodeDrainStartTime = nodeDrainStartTime;
}

@JsonProperty("waitForNodeVolumeDetachStartTime")
public String getWaitForNodeVolumeDetachStartTime() {
return waitForNodeVolumeDetachStartTime;
}

@JsonProperty("waitForNodeVolumeDetachStartTime")
public void setWaitForNodeVolumeDetachStartTime(String waitForNodeVolumeDetachStartTime) {
this.waitForNodeVolumeDetachStartTime = waitForNodeVolumeDetachStartTime;
}

@JsonIgnore
public MachineDeletionStatusBuilder edit() {
return new MachineDeletionStatusBuilder(this);
}

@JsonIgnore
public MachineDeletionStatusBuilder toBuilder() {
return edit();
}

@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}

@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@

package io.fabric8.kubernetes.api.model.clusterapi.v1beta1;

import java.util.LinkedHashMap;
import java.util.Map;
import javax.annotation.Generated;
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.builder.Editable;
import io.fabric8.kubernetes.api.model.KubernetesResource;
import io.sundr.builder.annotations.Buildable;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"conditionType"
})
@ToString
@EqualsAndHashCode
@Accessors(prefix = {
"_",
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder")
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
public class MachineReadinessGate implements Editable<MachineReadinessGateBuilder>, KubernetesResource
{

@JsonProperty("conditionType")
private String conditionType;
@JsonIgnore
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();

/**
* No args constructor for use in serialization
*
*/
public MachineReadinessGate() {
}

public MachineReadinessGate(String conditionType) {
super();
this.conditionType = conditionType;
}

@JsonProperty("conditionType")
public String getConditionType() {
return conditionType;
}

@JsonProperty("conditionType")
public void setConditionType(String conditionType) {
this.conditionType = conditionType;
}

@JsonIgnore
public MachineReadinessGateBuilder edit() {
return new MachineReadinessGateBuilder(this);
}

@JsonIgnore
public MachineReadinessGateBuilder toBuilder() {
return edit();
}

@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}

@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

package io.fabric8.kubernetes.api.model.clusterapi.v1beta1;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
Expand Down Expand Up @@ -31,6 +33,7 @@
"nodeDrainTimeout",
"nodeVolumeDetachTimeout",
"providerID",
"readinessGates",
"version"
})
@ToString
Expand Down Expand Up @@ -60,6 +63,9 @@ public class MachineSpec implements Editable<MachineSpecBuilder>, KubernetesReso
private Duration nodeVolumeDetachTimeout;
@JsonProperty("providerID")
private String providerID;
@JsonProperty("readinessGates")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<MachineReadinessGate> readinessGates = new ArrayList<>();
@JsonProperty("version")
private String version;
@JsonIgnore
Expand All @@ -72,7 +78,7 @@ public class MachineSpec implements Editable<MachineSpecBuilder>, KubernetesReso
public MachineSpec() {
}

public MachineSpec(Bootstrap bootstrap, String clusterName, String failureDomain, ObjectReference infrastructureRef, Duration nodeDeletionTimeout, Duration nodeDrainTimeout, Duration nodeVolumeDetachTimeout, String providerID, String version) {
public MachineSpec(Bootstrap bootstrap, String clusterName, String failureDomain, ObjectReference infrastructureRef, Duration nodeDeletionTimeout, Duration nodeDrainTimeout, Duration nodeVolumeDetachTimeout, String providerID, List<MachineReadinessGate> readinessGates, String version) {
super();
this.bootstrap = bootstrap;
this.clusterName = clusterName;
Expand All @@ -82,6 +88,7 @@ public MachineSpec(Bootstrap bootstrap, String clusterName, String failureDomain
this.nodeDrainTimeout = nodeDrainTimeout;
this.nodeVolumeDetachTimeout = nodeVolumeDetachTimeout;
this.providerID = providerID;
this.readinessGates = readinessGates;
this.version = version;
}

Expand Down Expand Up @@ -165,6 +172,17 @@ public void setProviderID(String providerID) {
this.providerID = providerID;
}

@JsonProperty("readinessGates")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List<MachineReadinessGate> getReadinessGates() {
return readinessGates;
}

@JsonProperty("readinessGates")
public void setReadinessGates(List<MachineReadinessGate> readinessGates) {
this.readinessGates = readinessGates;
}

@JsonProperty("version")
public String getVersion() {
return version;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@
"bootstrapReady",
"certificatesExpiryDate",
"conditions",
"deletion",
"failureMessage",
"failureReason",
"infrastructureReady",
"lastUpdated",
"nodeInfo",
"nodeRef",
"observedGeneration",
"phase"
"phase",
"v1beta2"
})
@ToString
@EqualsAndHashCode
Expand All @@ -59,6 +61,8 @@ public class MachineStatus implements Editable<MachineStatusBuilder>, Kubernetes
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<Condition> conditions = new ArrayList<>();
@JsonProperty("deletion")
private MachineDeletionStatus deletion;
@JsonProperty("failureMessage")
private String failureMessage;
@JsonProperty("failureReason")
Expand All @@ -75,6 +79,8 @@ public class MachineStatus implements Editable<MachineStatusBuilder>, Kubernetes
private Long observedGeneration;
@JsonProperty("phase")
private String phase;
@JsonProperty("v1beta2")
private MachineV1Beta2Status v1beta2;
@JsonIgnore
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();

Expand All @@ -85,12 +91,13 @@ public class MachineStatus implements Editable<MachineStatusBuilder>, Kubernetes
public MachineStatus() {
}

public MachineStatus(List<MachineAddress> addresses, Boolean bootstrapReady, String certificatesExpiryDate, List<Condition> conditions, String failureMessage, String failureReason, Boolean infrastructureReady, String lastUpdated, NodeSystemInfo nodeInfo, ObjectReference nodeRef, Long observedGeneration, String phase) {
public MachineStatus(List<MachineAddress> addresses, Boolean bootstrapReady, String certificatesExpiryDate, List<Condition> conditions, MachineDeletionStatus deletion, String failureMessage, String failureReason, Boolean infrastructureReady, String lastUpdated, NodeSystemInfo nodeInfo, ObjectReference nodeRef, Long observedGeneration, String phase, MachineV1Beta2Status v1beta2) {
super();
this.addresses = addresses;
this.bootstrapReady = bootstrapReady;
this.certificatesExpiryDate = certificatesExpiryDate;
this.conditions = conditions;
this.deletion = deletion;
this.failureMessage = failureMessage;
this.failureReason = failureReason;
this.infrastructureReady = infrastructureReady;
Expand All @@ -99,6 +106,7 @@ public MachineStatus(List<MachineAddress> addresses, Boolean bootstrapReady, Str
this.nodeRef = nodeRef;
this.observedGeneration = observedGeneration;
this.phase = phase;
this.v1beta2 = v1beta2;
}

@JsonProperty("addresses")
Expand Down Expand Up @@ -143,6 +151,16 @@ public void setConditions(List<Condition> conditions) {
this.conditions = conditions;
}

@JsonProperty("deletion")
public MachineDeletionStatus getDeletion() {
return deletion;
}

@JsonProperty("deletion")
public void setDeletion(MachineDeletionStatus deletion) {
this.deletion = deletion;
}

@JsonProperty("failureMessage")
public String getFailureMessage() {
return failureMessage;
Expand Down Expand Up @@ -223,6 +241,16 @@ public void setPhase(String phase) {
this.phase = phase;
}

@JsonProperty("v1beta2")
public MachineV1Beta2Status getV1beta2() {
return v1beta2;
}

@JsonProperty("v1beta2")
public void setV1beta2(MachineV1Beta2Status v1beta2) {
this.v1beta2 = v1beta2;
}

@JsonIgnore
public MachineStatusBuilder edit() {
return new MachineStatusBuilder(this);
Expand Down
Loading

0 comments on commit 1aca1cb

Please sign in to comment.