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

com.avito.k8s.KubernetesApi.kt Maven / Gradle / Ivy

Go to download

Collection of infrastructure libraries and gradle plugins of Avito Android project

There is a newer version: 2023.22
Show newest version
package com.avito.k8s

import com.avito.android.Result
import com.avito.k8s.model.KubePod
import io.fabric8.kubernetes.api.model.apps.Deployment

public interface KubernetesApi {

    public val namespace: String

    public suspend fun deletePod(podName: String): Boolean

    public suspend fun getPodLogs(podName: String): String

    public suspend fun getPodDescription(podName: String): String

    public suspend fun deleteDeployment(deploymentName: String)

    public suspend fun createDeployment(deployment: Deployment)

    public suspend fun getPods(deploymentName: String): Result>
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy