Skip to content

Commit c7ab570

Browse files
committed
v5.3.2
0 parents  commit c7ab570

933 files changed

Lines changed: 221708 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Ignore all files
2+
/*
3+
gradle.properties
4+
5+
## Include project files
6+
!src/
7+
!docs/
8+
!README.md
9+
!.openapi-generator-config.json
10+
!.openapi-generator-ignore
11+
12+
## Infrastructure
13+
!system.properties
14+
!.editorconfig
15+
!.gitignore
16+
17+
## Documentation
18+
!README.md
19+
!CONTRIBUTING.md
20+
!LICENSE
21+
22+
## Gradle wrapper
23+
!gradle/
24+
!gradlew
25+
!gradlew.bat
26+
!build.gradle.kts
27+
!settings.gradle.kts
28+
29+
## Exclude IDE files
30+
# JetBrains
31+
.idea/**/*.iml
32+
# VSCode
33+
.vscode/**

.openapi-generator-config.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"groupId": "io.github.pod4dev",
3+
"artifactId": "libpod-java",
4+
"artifactVersion": "5.3.2",
5+
"developerName": "Pod4Dev Team",
6+
"licenseName": "MIT",
7+
"licenseUrl": "https://opensource.org/license/mit",
8+
"scmUrl": "https://github.com/pod4dev/libpod-java",
9+
"scmConnection": "scm:git:git://github.com/pod4dev/libpod-java.git",
10+
"scmDeveloperConnection": "scm:git:git://github.com/pod4dev/libpod-java.git",
11+
"invokerPackage": "io.github.pod4dev.libpodj",
12+
"modelPackage": "io.github.pod4dev.libpodj.model",
13+
"apiPackage": "io.github.pod4dev.libpodj.api",
14+
"cleanupOutput": true,
15+
"library": "okhttp-gson",
16+
"serializableModel": true,
17+
"annotationLibrary": "none",
18+
"serializationLibrary": "gson",
19+
"useBeanValidation": true,
20+
"dateLibrary": "java8",
21+
"useJakartaEe": true,
22+
"sortModelPropertiesByRequiredFlag": true,
23+
"sortParamsByRequiredFlag": true,
24+
"useSingleRequestParameter": true,
25+
"generateBuilders": true,
26+
"singleContentTypes": false,
27+
"hideGenerationTimestamp": true
28+
}

.openapi-generator-ignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md
24+
25+
**
26+
!README.md
27+
!src/
28+
!docs/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Aleksandr
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 647 additions & 0 deletions
Large diffs are not rendered by default.

build.gradle.kts

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
plugins {
2+
id("idea")
3+
id("eclipse")
4+
id("java")
5+
id("maven-publish")
6+
id("signing")
7+
id("org.jreleaser") version "1.15.0"
8+
}
9+
10+
repositories {
11+
mavenCentral()
12+
}
13+
14+
group = "io.github.pod4dev"
15+
version = "5.3.2"
16+
17+
dependencies {
18+
implementation("org.hibernate.validator:hibernate-validator:8.0.0.Final")
19+
implementation("com.google.code.findbugs:jsr305:3.0.2")
20+
implementation("com.squareup.okhttp3:okhttp:4.12.0")
21+
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")
22+
implementation("com.google.code.gson:gson:2.10")
23+
implementation("io.gsonfire:gson-fire:1.9.0")
24+
implementation("javax.ws.rs:jsr311-api:1.1")
25+
implementation("javax.ws.rs:javax.ws.rs-api:2.1.1")
26+
implementation("org.apache.commons:commons-lang3:3.15.0")
27+
implementation("org.openapitools:jackson-databind-nullable:0.2.6")
28+
implementation("io.swagger:swagger-annotations:1.6.15")
29+
implementation("javax.validation:validation-api:2.0.1.Final")
30+
implementation("javax.annotation:javax.annotation-api:1.3.2")
31+
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
32+
testImplementation("org.mockito:mockito-core:5.11.0")
33+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2")
34+
}
35+
36+
tasks.withType<Javadoc> {
37+
(options as StandardJavadocDocletOptions)
38+
.tags("http.response.details:a:Http Response Details")
39+
.addStringOption("Xdoclint:none", "-quiet")
40+
}
41+
42+
java {
43+
withJavadocJar()
44+
withSourcesJar()
45+
}
46+
47+
tasks.test {
48+
useJUnitPlatform()
49+
}
50+
51+
publishing {
52+
publications {
53+
create<MavenPublication>("mavenJava") {
54+
groupId = project.group.toString()
55+
artifactId = project.name
56+
version = project.version.toString()
57+
58+
from(components["java"])
59+
pom {
60+
packaging = "jar"
61+
name.set("libpod-java")
62+
url.set("https://github.com/pod4dev/libpod-java")
63+
description.set("Libpod API for Java")
64+
65+
scm {
66+
url.set("https://github.com/pod4dev/libpod-java")
67+
connection.set("scm:git:git://github.com/pod4dev/libpod-java.git")
68+
developerConnection.set("scm:git:git://github.com/pod4dev/libpod-java.git")
69+
}
70+
71+
inceptionYear = "2025"
72+
73+
developers {
74+
developer {
75+
name.set("Pod4Dev Team")
76+
}
77+
}
78+
79+
licenses {
80+
license {
81+
name.set("MIT")
82+
url.set("https://opensource.org/license/mit")
83+
}
84+
}
85+
}
86+
}
87+
}
88+
repositories {
89+
maven {
90+
setUrl(layout.buildDirectory.dir("staging-deploy"))
91+
}
92+
}
93+
}
94+
95+
jreleaser {
96+
project {
97+
inceptionYear = "2025"
98+
author("Pod4Dev Team")
99+
description = "Libpod API for Java"
100+
license = "MIT"
101+
}
102+
gitRootSearch = true
103+
release {
104+
github {
105+
// https://github.com/jreleaser/jreleaser/discussions/367
106+
token = "dummy"
107+
}
108+
}
109+
signing {
110+
setActive("ALWAYS")
111+
armored = true
112+
passphrase = properties["signing.gnupg.passphrase"].toString()
113+
setMode("COMMAND")
114+
command {
115+
executable = properties["signing.gnupg.executable"].toString()
116+
keyName = properties["signing.gnupg.keyName"].toString()
117+
}
118+
}
119+
deploy {
120+
maven {
121+
mavenCentral {
122+
create("sonatype") {
123+
setActive("ALWAYS")
124+
url = "https://central.sonatype.com/api/v1/publisher"
125+
stagingRepository("build/staging-deploy")
126+
username.set(properties["ossrhUsername"].toString())
127+
password.set(properties["ossrhPassword"].toString())
128+
}
129+
}
130+
}
131+
}
132+
}

docs/AccessMode.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
3+
# AccessMode
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**blockVolume** | **Object** | Intentionally empty. | [optional] |
11+
|**mountVolume** | [**TypeMount**](TypeMount.md) | | [optional] |
12+
|**scope** | **String** | Scope defines the Scope of a Cluster Volume. This is how many nodes a Volume can be accessed simultaneously on. | [optional] |
13+
|**sharing** | **String** | SharingMode defines the Sharing of a Cluster Volume. This is how Tasks using a Volume at the same time can use it. | [optional] |
14+
15+
16+
## Implemented Interfaces
17+
18+
* Serializable
19+
20+

docs/Address.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
3+
# Address
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**addr** | **String** | | [optional] |
11+
|**prefixLength** | **Long** | | [optional] |
12+
13+
14+
## Implemented Interfaces
15+
16+
* Serializable
17+
18+

docs/AttestationProperties.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# AttestationProperties
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**_for** | **String** | The following is an example of the contents of Digest types: sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc This allows to abstract the digest behind this type and work only in those terms. | [optional] |
11+
12+
13+
## Implemented Interfaces
14+
15+
* Serializable
16+
17+

docs/AuthConfig.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
3+
# AuthConfig
4+
5+
AuthConfig contains authorization information for connecting to a Registry
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**auth** | **String** | | [optional] |
12+
|**email** | **String** | Email is an optional value associated with the username. This field is deprecated and will be removed in a later version of docker. | [optional] |
13+
|**identitytoken** | **String** | IdentityToken is used to authenticate the user and get an access token for the registry. | [optional] |
14+
|**password** | **String** | | [optional] |
15+
|**registrytoken** | **String** | RegistryToken is a bearer token to be sent to a registry | [optional] |
16+
|**serveraddress** | **String** | | [optional] |
17+
|**username** | **String** | | [optional] |
18+
19+
20+
## Implemented Interfaces
21+
22+
* Serializable
23+
24+

0 commit comments

Comments
 (0)