Class ServiceConfig.Github

java.lang.Object
org.apache.opendal.ServiceConfig.Github
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Github extends Object implements ServiceConfig
Configuration for service github.
  • Field Details

    • owner

      @NonNull public final @NonNull String owner

      GitHub repo owner.

      required.

    • repo

      @NonNull public final @NonNull String repo

      GitHub repo name.

      required.

    • root

      public final String root

      root of this backend.

      All operations will happen under this root.

    • token

      public final String token

      GitHub access_token.

      optional. If not provided, the backend will only support read operations for public repositories. And rate limit will be limited to 60 requests per hour.

  • Constructor Details

    • Github

      public Github()
  • Method Details