接口的使用
cn.taketoday.buildpack.platform.io.Owner
使用Owner的程序包
程序包
说明
Central API for performing a buildpack build.
IO classes and utilities.
-
cn.taketoday.buildpack.platform.build中Owner的使用
类型参数类型为Owner的cn.taketoday.buildpack.platform.build中的字段修饰符和类型方法说明(专用程序包) OwnerEphemeralBuilder.getBuildOwner()Return the build owner that should be used for written content.修饰符和类型方法说明BuildRequest.getApplicationContent(Owner owner) Return aTarArchivecontaining the application content that the buildpack should package.类型变量类型为Owner的cn.taketoday.buildpack.platform.build中的方法参数修饰符和类型方法说明static BuildRequestBuildRequest.of(ImageReference name, Function<Owner, TarArchive> applicationContent) Factory method to create a newBuildRequestwith specific content.类型变量类型为Owner的cn.taketoday.buildpack.platform.build中的构造器参数限定符构造器说明(专用程序包)BuildRequest(ImageReference name, Function<Owner, TarArchive> applicationContent) (专用程序包)BuildRequest(ImageReference name, Function<Owner, TarArchive> applicationContent, ImageReference builder, ImageReference runImage, Creator creator, Map<String, String> env, boolean cleanCache, boolean verboseLogging, PullPolicy pullPolicy, boolean publish, List<BuildpackReference> buildpacks, List<Binding> bindings, String network, List<ImageReference> tags, Cache buildWorkspace, Cache buildCache, Cache launchCache, Instant createdDate, String applicationDirectory, List<String> securityOptions) -
cn.taketoday.buildpack.platform.io中Owner的使用
修饰符和类型字段说明private final OwnerZipFileTarArchive.ownerstatic final OwnerOwner.ROOTOwner for root ownership.修饰符和类型方法说明static OwnerOwner.of(long uid, long gid) Factory method to create a newOwnerwith specified user/group identifier.参数类型为Owner的cn.taketoday.buildpack.platform.io中的方法修饰符和类型方法说明private org.apache.commons.compress.archivers.tar.TarArchiveEntryTarLayoutWriter.createDirectoryEntry(String name, Owner owner, int mode) private org.apache.commons.compress.archivers.tar.TarArchiveEntryTarLayoutWriter.createEntry(String name, Owner owner, byte linkFlag, int mode, int size) private org.apache.commons.compress.archivers.tar.TarArchiveEntryTarLayoutWriter.createFileEntry(String name, Owner owner, int mode, int size) default voidAdd a directory to the content.voidAdd a directory to the content.voidvoidWrite a file to the content.default voidWrite a file to the content.voidstatic TarArchiveFactory method to adapt a ZIP file toTarArchive.参数类型为Owner的cn.taketoday.buildpack.platform.io中的构造器限定符构造器说明ZipFileTarArchive(File zip, Owner owner) Creates an archive from the contents of the givenzip.