CognosSource.PrivateImage
using Skipcheck.Tm1.Testcontainers; An image built on cognos-server with Cognos inside (see the image's
examples/private-image), from a private registry or only on your
machine. It contains IBM software, so it must never be pushed anywhere public.
Members
PrivateImage constructor | A private image. |
Image property | The image's name. |
Describe | |
PrivateImageSetting static | The setting naming an image with Cognos built in. |
InstallVolumeSetting static | The setting naming a Docker volume holding an install. |
ZipDir static | The setting naming the folder holding IBM's zip. |
ZipSetting static | The setting naming the zip in ZipDir (the newest otherwise). |
ZipUrlSetting static | The setting holding a download link for the zip. |
ZipSha256 static | The setting holding the zip's SHA-256. |
Discover static | The first source set, from AppContext switches or environment variables; null when none is. |
Discover static | The first source set, in this order. |
PrivateImage
constructorPrivateImage(string image)A private image.
Image
propertystring ImageThe image's name.
Describe
string Describe()PrivateImageSetting
staticconst string PrivateImageSettingThe setting naming an image with Cognos built in.
InstallVolumeSetting
staticconst string InstallVolumeSettingThe setting naming a Docker volume holding an install.
ZipDir
staticconst string ZipDirThe setting naming the folder holding IBM's zip.
ZipSetting
staticconst string ZipSettingThe setting naming the zip in ZipDir (the newest otherwise).
ZipUrlSetting
staticconst string ZipUrlSettingThe setting holding a download link for the zip.
ZipSha256
staticconst string ZipSha256The setting holding the zip's SHA-256.
Discover
staticCognosSource? Discover()The first source set, from AppContext switches or environment
variables; null when none is.
Throws
ArgumentException- A source is set but wrong.
Discover
staticCognosSource? Discover(Func<string, string?> lookup)The first source set, in this order: COGNOS_PRIVATE_IMAGE,
COGNOS_INSTALL_VOLUME, COGNOS_ZIP_DIR (with COGNOS_ZIP),
COGNOS_ZIP_URL (with COGNOS_ZIP_SHA256), then TM1_BUNDLE_DIR if it holds a
casrv-*-linuxi38664h.zip (or COGNOS_ZIP is set).