Dagger
Search

container_mirror

No long description provided.

Installation

dagger install github.com/bradfordwagner/dagger-modules/container_mirror@730572d8606da3d9eaf69299d4c77a959b25c6b9

Types

ContainerMirror 🔗

product() 🔗

Cartesian returns the cartesian product of all builds this is used to explode the builds

Return Type
[ContainerMirrorProductFormat ! ] !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
versionString !"latest"No description provided
Example
Function ContainerMirror.product is not accessible from the container_mirror module
Function ContainerMirror.product is not accessible from the container_mirror module
Function ContainerMirror.product is not accessible from the container_mirror module
Function ContainerMirror.product is not accessible from the container_mirror module

productJson() 🔗

ProductJson returns the cartesian product of all builds as a json string, used for github actions matrix

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
versionString !"latest"No description provided
Example
Function ContainerMirror.productJson is not accessible from the container_mirror module
Function ContainerMirror.productJson is not accessible from the container_mirror module
Function ContainerMirror.productJson is not accessible from the container_mirror module
Function ContainerMirror.productJson is not accessible from the container_mirror module

init() 🔗

Init creates an example yaml config for cicd to use

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
Function ContainerMirror.init is not accessible from the container_mirror module
Function ContainerMirror.init is not accessible from the container_mirror module
Function ContainerMirror.init is not accessible from the container_mirror module
Function ContainerMirror.init is not accessible from the container_mirror module

mirror() 🔗

Returns a container that echoes whatever string argument is provided func (m *ContainerMirror) Mirror() *Container {

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
Function ContainerMirror.mirror is not accessible from the container_mirror module
Function ContainerMirror.mirror is not accessible from the container_mirror module
Function ContainerMirror.mirror is not accessible from the container_mirror module
Function ContainerMirror.mirror is not accessible from the container_mirror module

build() 🔗

Build - builds the container image

Return Type
String !
Arguments
NameTypeDefault ValueDescription
indexInteger !0No description provided
srcDirectory !-No description provided
versionString !"latest"No description provided
isDevBoolean !trueNo description provided
Example
Function ContainerMirror.build is not accessible from the container_mirror module
Function ContainerMirror.build is not accessible from the container_mirror module
Function ContainerMirror.build is not accessible from the container_mirror module
Function ContainerMirror.build is not accessible from the container_mirror module

manifest() 🔗

Manifest - configures manifest in registry. not meant to be run locally

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
versionString !"latest"No description provided
actorSecret !-GitHub actor, --token=env:GITHUB_API_TOKEN,--token=cmd:"gh auth token"
tokenSecret !-GitHub API token, --token=env:GITHUB_API_TOKEN,--token=cmd:"gh auth token"
Example
Function ContainerMirror.manifest is not accessible from the container_mirror module
Function ContainerMirror.manifest is not accessible from the container_mirror module
Function ContainerMirror.manifest is not accessible from the container_mirror module
Function ContainerMirror.manifest is not accessible from the container_mirror module

ContainerMirrorProductFormat 🔗

index() 🔗

Return Type
Integer !
Example
Function ContainerMirrorProductFormat.index is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.index is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.index is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.index is not accessible from the container_mirror module

repo() 🔗

Return Type
String !
Example
Function ContainerMirrorProductFormat.repo is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.repo is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.repo is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.repo is not accessible from the container_mirror module

tag() 🔗

Return Type
String !
Example
Function ContainerMirrorProductFormat.tag is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.tag is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.tag is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.tag is not accessible from the container_mirror module

arch() 🔗

Return Type
String !
Example
Function ContainerMirrorProductFormat.arch is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.arch is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.arch is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.arch is not accessible from the container_mirror module

runner() 🔗

Return Type
String !
Example
Function ContainerMirrorProductFormat.runner is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.runner is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.runner is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.runner is not accessible from the container_mirror module

targetImage() 🔗

without architecture suffix

Return Type
String !
Example
Function ContainerMirrorProductFormat.targetImage is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.targetImage is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.targetImage is not accessible from the container_mirror module
Function ContainerMirrorProductFormat.targetImage is not accessible from the container_mirror module