-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update the manually maintained model
- Loading branch information
Showing
6 changed files
with
167 additions
and
9 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
51 changes: 51 additions & 0 deletions
51
...icurio/registry/operator/api/v1/model/ApicurioRegistrySpecConfigurationSecurityHttps.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,51 @@ | ||
/* | ||
* Copyright 2022 Red Hat | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package io.apicurio.registry.operator.api.v1.model; | ||
|
||
import io.sundr.builder.annotations.Buildable; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.ToString; | ||
|
||
@Buildable( | ||
editableEnabled = false, | ||
builderPackage = Constants.FABRIC8_KUBERNETES_API | ||
) | ||
@EqualsAndHashCode | ||
@ToString | ||
// NOTE: We can not use Lombok @Getter and @Setter because it does not work with fabric8 generator. | ||
public class ApicurioRegistrySpecConfigurationSecurityHttps { | ||
|
||
private boolean disableHttp; | ||
|
||
private String secretName; | ||
|
||
public boolean isDisableHttp() { | ||
return disableHttp; | ||
} | ||
|
||
public void setDisableHttp(boolean disableHttp) { | ||
this.disableHttp = disableHttp; | ||
} | ||
|
||
public String getSecretName() { | ||
return secretName; | ||
} | ||
|
||
public void setSecretName(String secretName) { | ||
this.secretName = secretName; | ||
} | ||
} |
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
66 changes: 66 additions & 0 deletions
66
...icurio/registry/operator/api/v1/model/ApicurioRegistrySpecDeploymentManagedResources.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,66 @@ | ||
/* | ||
* Copyright 2022 Red Hat | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package io.apicurio.registry.operator.api.v1.model; | ||
|
||
import io.fabric8.kubernetes.api.model.Affinity; | ||
import io.fabric8.kubernetes.api.model.LocalObjectReference; | ||
import io.fabric8.kubernetes.api.model.Toleration; | ||
import io.sundr.builder.annotations.Buildable; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.ToString; | ||
|
||
import java.util.List; | ||
|
||
@Buildable( | ||
editableEnabled = false, | ||
builderPackage = Constants.FABRIC8_KUBERNETES_API | ||
) | ||
@EqualsAndHashCode | ||
@ToString | ||
// NOTE: We can not use Lombok @Getter and @Setter because it does not work with fabric8 generator. | ||
public class ApicurioRegistrySpecDeploymentManagedResources { | ||
|
||
private boolean disableIngress; | ||
|
||
private boolean disableNetworkPolicy; | ||
|
||
private boolean disablePodDisruptionBudget; | ||
|
||
public boolean isDisableIngress() { | ||
return disableIngress; | ||
} | ||
|
||
public void setDisableIngress(boolean disableIngress) { | ||
this.disableIngress = disableIngress; | ||
} | ||
|
||
public boolean isDisableNetworkPolicy() { | ||
return disableNetworkPolicy; | ||
} | ||
|
||
public void setDisableNetworkPolicy(boolean disableNetworkPolicy) { | ||
this.disableNetworkPolicy = disableNetworkPolicy; | ||
} | ||
|
||
public boolean isDisablePodDisruptionBudget() { | ||
return disablePodDisruptionBudget; | ||
} | ||
|
||
public void setDisablePodDisruptionBudget(boolean disablePodDisruptionBudget) { | ||
this.disablePodDisruptionBudget = disablePodDisruptionBudget; | ||
} | ||
} |
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