Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

5. Generate Java CRD Model

Min Kim edited this page Jul 20, 2021 · 2 revisions

Model Classes from Popular CRDs

The project also provides model classes generated from some frequently used open source projects as separate maven dependencies. Please refer to the following to see their respective documentation.

It's also recommended to read this documentation to learn details about automatically generating custom Models that fits into this library. Alternatively, you can also write the models manually by implementing io.kubernetes.client.common.KubernetesObject for the singular resource types and io.kubernetes.client.common.KubernetesListObject for the list types, e.g.:

public class Foo implements io.kubernetes.client.common.KubernetesObject {
    ...
}


public class FooList implements io.kubernetes.client.common.KubernetesListObject {
    ...
}

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.