All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gesellix.docker.remote.api.IndexInfo.kt Maven / Gradle / Ivy

There is a newer version: 2024-09-15T19-05-00
Show newest version
/**
 *
 * Please note:
 * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * Do not edit this file manually.
 *
 */

@file:Suppress(
    "ArrayInDataClass",
    "EnumEntryName",
    "RemoveRedundantQualifierName",
    "UnusedImport",
)

package de.gesellix.docker.remote.api

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

/**
 * IndexInfo contains information about a registry.
 *
 * @param name Name of the registry, such as \"docker.io\".
 * @param mirrors List of mirrors, expressed as URIs.
 * @param secure Indicates if the registry is part of the list of insecure registries.  If `false`, the registry is insecure. Insecure registries accept un-encrypted (HTTP) and/or untrusted (HTTPS with certificates from unknown CAs) communication.  > **Warning**: Insecure registries can be useful when running a local > registry. However, because its use creates security vulnerabilities > it should ONLY be enabled for testing purposes. For increased > security, users should add their CA to their system's list of > trusted CAs instead of enabling this option.
 * @param official Indicates whether this is an official registry (i.e., Docker Hub / docker.io)
 */
@JsonClass(generateAdapter = true)
data class IndexInfo(
    // Name of the registry, such as \"docker.io\".
    @Json(name = "Name")
    var name: kotlin.String? = null,
    // List of mirrors, expressed as URIs.
    @Json(name = "Mirrors")
    var mirrors: kotlin.collections.MutableList? = null,
    // Indicates if the registry is part of the list of insecure registries.  If `false`, the registry is insecure. Insecure registries accept un-encrypted (HTTP) and/or untrusted (HTTPS with certificates from unknown CAs) communication.  > **Warning**: Insecure registries can be useful when running a local > registry. However, because its use creates security vulnerabilities > it should ONLY be enabled for testing purposes. For increased > security, users should add their CA to their system's list of > trusted CAs instead of enabling this option.
    @Json(name = "Secure")
    var secure: kotlin.Boolean? = null,
    // Indicates whether this is an official registry (i.e., Docker Hub / docker.io)
    @Json(name = "Official")
    var official: kotlin.Boolean? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy