Interface AuthorizationV1Api

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

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

      • getAPIResources

        @HTTP(method="GET",
              path="/apis/authorization.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
      • createNamespacedLocalSubjectAccessReview

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

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

        @HTTP(method="POST",
              path="/apis/authorization.k8s.io/v1/selfsubjectaccessreviews",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SelfSubjectAccessReview> createSelfSubjectAccessReview​(@Body
                                                                                                                                                        com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SelfSubjectAccessReview body)
        create a SelfSubjectAccessReview
      • createSelfSubjectAccessReview

        @HTTP(method="POST",
              path="/apis/authorization.k8s.io/v1/selfsubjectaccessreviews",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SelfSubjectAccessReview> createSelfSubjectAccessReview​(@Body
                                                                                                                                                        com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SelfSubjectAccessReview body,
                                                                                                                                                        @QueryMap
                                                                                                                                                        AuthorizationV1Api.CreateSelfSubjectAccessReview queryParameters)
        create a SelfSubjectAccessReview
      • createSelfSubjectRulesReview

        @HTTP(method="POST",
              path="/apis/authorization.k8s.io/v1/selfsubjectrulesreviews",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SelfSubjectRulesReview> createSelfSubjectRulesReview​(@Body
                                                                                                                                                      com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SelfSubjectRulesReview body)
        create a SelfSubjectRulesReview
      • createSelfSubjectRulesReview

        @HTTP(method="POST",
              path="/apis/authorization.k8s.io/v1/selfsubjectrulesreviews",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SelfSubjectRulesReview> createSelfSubjectRulesReview​(@Body
                                                                                                                                                      com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SelfSubjectRulesReview body,
                                                                                                                                                      @QueryMap
                                                                                                                                                      AuthorizationV1Api.CreateSelfSubjectRulesReview queryParameters)
        create a SelfSubjectRulesReview
      • createSubjectAccessReview

        @HTTP(method="POST",
              path="/apis/authorization.k8s.io/v1/subjectaccessreviews",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SubjectAccessReview> createSubjectAccessReview​(@Body
                                                                                                                                                com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SubjectAccessReview body)
        create a SubjectAccessReview
      • createSubjectAccessReview

        @HTTP(method="POST",
              path="/apis/authorization.k8s.io/v1/subjectaccessreviews",
              hasBody=true)
        @Headers({"Content-Type: application/json","Accept: */*"})
        com.marcnuri.yakc.api.KubernetesCall<com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SubjectAccessReview> createSubjectAccessReview​(@Body
                                                                                                                                                com.marcnuri.yakc.model.io.k8s.api.authorization.v1.SubjectAccessReview body,
                                                                                                                                                @QueryMap
                                                                                                                                                AuthorizationV1Api.CreateSubjectAccessReview queryParameters)
        create a SubjectAccessReview