Interface CoordinationV1Api

  • All Superinterfaces:
    com.marcnuri.yakc.api.Api

    public interface CoordinationV1Api
    extends com.marcnuri.yakc.api.Api
    • Method Detail

      • getAPIResources

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList> getAPIResources()
        get available resources
      • listLeaseForAllNamespaces

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/leases")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesListCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.LeaseList,​com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> listLeaseForAllNamespaces()
        list or watch objects of kind Lease
      • listLeaseForAllNamespaces

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/leases")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesListCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.LeaseList,​com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> listLeaseForAllNamespaces​(@QueryMap
                                                                                                                                                                                                        CoordinationV1Api.ListLeaseForAllNamespaces queryParameters)
        list or watch objects of kind Lease
      • deleteCollectionNamespacedLease

        @HTTP(method="DELETE",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.Status> deleteCollectionNamespacedLease​(@Path("namespace")
                                                                                                                                                  java.lang.String namespace,
                                                                                                                                                  @Body
                                                                                                                                                  com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions body)
        delete collection of Lease
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • deleteCollectionNamespacedLease

        @HTTP(method="DELETE",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.Status> deleteCollectionNamespacedLease​(@Path("namespace")
                                                                                                                                                  java.lang.String namespace)
        delete collection of Lease
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • deleteCollectionNamespacedLease

        @HTTP(method="DELETE",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.Status> deleteCollectionNamespacedLease​(@Path("namespace")
                                                                                                                                                  java.lang.String namespace,
                                                                                                                                                  @Body
                                                                                                                                                  com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions body,
                                                                                                                                                  @QueryMap
                                                                                                                                                  CoordinationV1Api.DeleteCollectionNamespacedLease queryParameters)
        delete collection of Lease
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • deleteCollectionNamespacedLease

        @HTTP(method="DELETE",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.Status> deleteCollectionNamespacedLease​(@Path("namespace")
                                                                                                                                                  java.lang.String namespace,
                                                                                                                                                  @QueryMap
                                                                                                                                                  CoordinationV1Api.DeleteCollectionNamespacedLease queryParameters)
        delete collection of Lease
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • listNamespacedLease

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesListCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.LeaseList,​com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> listNamespacedLease​(@Path("namespace")
                                                                                                                                                                                                  java.lang.String namespace)
        list or watch objects of kind Lease
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • listNamespacedLease

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesListCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.LeaseList,​com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> listNamespacedLease​(@Path("namespace")
                                                                                                                                                                                                  java.lang.String namespace,
                                                                                                                                                                                                  @QueryMap
                                                                                                                                                                                                  CoordinationV1Api.ListNamespacedLease queryParameters)
        list or watch objects of kind Lease
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • createNamespacedLease

        @HTTP(method="POST",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> createNamespacedLease​(@Path("namespace")
                                                                                                                             java.lang.String namespace,
                                                                                                                             @Body
                                                                                                                             com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease body)
        create a Lease
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • createNamespacedLease

        @HTTP(method="POST",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> createNamespacedLease​(@Path("namespace")
                                                                                                                             java.lang.String namespace,
                                                                                                                             @Body
                                                                                                                             com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease body,
                                                                                                                             @QueryMap
                                                                                                                             CoordinationV1Api.CreateNamespacedLease queryParameters)
        create a Lease
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • deleteNamespacedLease

        @HTTP(method="DELETE",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.Status> deleteNamespacedLease​(@Path("name")
                                                                                                                                        java.lang.String name,
                                                                                                                                        @Path("namespace")
                                                                                                                                        java.lang.String namespace,
                                                                                                                                        @Body
                                                                                                                                        com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions body)
        delete a Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • deleteNamespacedLease

        @HTTP(method="DELETE",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.Status> deleteNamespacedLease​(@Path("name")
                                                                                                                                        java.lang.String name,
                                                                                                                                        @Path("namespace")
                                                                                                                                        java.lang.String namespace)
        delete a Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • deleteNamespacedLease

        @HTTP(method="DELETE",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.Status> deleteNamespacedLease​(@Path("name")
                                                                                                                                        java.lang.String name,
                                                                                                                                        @Path("namespace")
                                                                                                                                        java.lang.String namespace,
                                                                                                                                        @Body
                                                                                                                                        com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions body,
                                                                                                                                        @QueryMap
                                                                                                                                        CoordinationV1Api.DeleteNamespacedLease queryParameters)
        delete a Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • deleteNamespacedLease

        @HTTP(method="DELETE",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.Status> deleteNamespacedLease​(@Path("name")
                                                                                                                                        java.lang.String name,
                                                                                                                                        @Path("namespace")
                                                                                                                                        java.lang.String namespace,
                                                                                                                                        @QueryMap
                                                                                                                                        CoordinationV1Api.DeleteNamespacedLease queryParameters)
        delete a Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • readNamespacedLease

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> readNamespacedLease​(@Path("name")
                                                                                                                           java.lang.String name,
                                                                                                                           @Path("namespace")
                                                                                                                           java.lang.String namespace)
        read the specified Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • readNamespacedLease

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> readNamespacedLease​(@Path("name")
                                                                                                                           java.lang.String name,
                                                                                                                           @Path("namespace")
                                                                                                                           java.lang.String namespace,
                                                                                                                           @QueryMap
                                                                                                                           CoordinationV1Api.ReadNamespacedLease queryParameters)
        read the specified Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • patchNamespacedLease

        @HTTP(method="PATCH",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}",
              hasBody=true)
        @Headers({"Content-Type: application/merge-patch+json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> patchNamespacedLease​(@Path("name")
                                                                                                                            java.lang.String name,
                                                                                                                            @Path("namespace")
                                                                                                                            java.lang.String namespace,
                                                                                                                            @Body
                                                                                                                            com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease body)
        partially update the specified Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • patchNamespacedLease

        @HTTP(method="PATCH",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}",
              hasBody=true)
        @Headers({"Content-Type: application/merge-patch+json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> patchNamespacedLease​(@Path("name")
                                                                                                                            java.lang.String name,
                                                                                                                            @Path("namespace")
                                                                                                                            java.lang.String namespace,
                                                                                                                            @Body
                                                                                                                            com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease body,
                                                                                                                            @QueryMap
                                                                                                                            CoordinationV1Api.PatchNamespacedLease queryParameters)
        partially update the specified Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • replaceNamespacedLease

        @HTTP(method="PUT",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> replaceNamespacedLease​(@Path("name")
                                                                                                                              java.lang.String name,
                                                                                                                              @Path("namespace")
                                                                                                                              java.lang.String namespace,
                                                                                                                              @Body
                                                                                                                              com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease body)
        replace the specified Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • replaceNamespacedLease

        @HTTP(method="PUT",
              path="/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease> replaceNamespacedLease​(@Path("name")
                                                                                                                              java.lang.String name,
                                                                                                                              @Path("namespace")
                                                                                                                              java.lang.String namespace,
                                                                                                                              @Body
                                                                                                                              com.marcnuri.yakc.model.io.k8s.api.coordination.v1.Lease body,
                                                                                                                              @QueryMap
                                                                                                                              CoordinationV1Api.ReplaceNamespacedLease queryParameters)
        replace the specified Lease
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • watchLeaseListForAllNamespaces

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/watch/leases")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent> watchLeaseListForAllNamespaces()
        watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.
      • watchLeaseListForAllNamespaces

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/watch/leases")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent> watchLeaseListForAllNamespaces​(@QueryMap
                                                                                                                                                     CoordinationV1Api.WatchLeaseListForAllNamespaces queryParameters)
        watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.
      • watchNamespacedLeaseList

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent> watchNamespacedLeaseList​(@Path("namespace")
                                                                                                                                               java.lang.String namespace)
        watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • watchNamespacedLeaseList

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent> watchNamespacedLeaseList​(@Path("namespace")
                                                                                                                                               java.lang.String namespace,
                                                                                                                                               @QueryMap
                                                                                                                                               CoordinationV1Api.WatchNamespacedLeaseList queryParameters)
        watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.
        Parameters:
        namespace - object name and auth scope, such as for teams and projects
      • watchNamespacedLease

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent> watchNamespacedLease​(@Path("name")
                                                                                                                                           java.lang.String name,
                                                                                                                                           @Path("namespace")
                                                                                                                                           java.lang.String namespace)
        watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects
      • watchNamespacedLease

        @HTTP(method="GET",
              path="/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}")
        @Headers("Accept: */*")
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent> watchNamespacedLease​(@Path("name")
                                                                                                                                           java.lang.String name,
                                                                                                                                           @Path("namespace")
                                                                                                                                           java.lang.String namespace,
                                                                                                                                           @QueryMap
                                                                                                                                           CoordinationV1Api.WatchNamespacedLease queryParameters)
        watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
        Parameters:
        name - name of the Lease
        namespace - object name and auth scope, such as for teams and projects