container_mirror
No long description provided.
Installation
dagger install github.com/bradfordwagner/dagger-modules/container_mirror@730572d8606da3d9eaf69299d4c77a959b25c6b9Types
ContainerMirror 🔗
product() 🔗
Cartesian returns the cartesian product of all builds this is used to explode the builds
Return Type
[ContainerMirrorProductFormat ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| version | String ! | "latest" | No description provided |
Example
Function ContainerMirror.product is not accessible from the container_mirror moduleFunction ContainerMirror.product is not accessible from the container_mirror moduleFunction ContainerMirror.product is not accessible from the container_mirror moduleFunction ContainerMirror.product is not accessible from the container_mirror moduleproductJson() 🔗
ProductJson returns the cartesian product of all builds as a json string, used for github actions matrix
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| version | String ! | "latest" | No description provided |
Example
Function ContainerMirror.productJson is not accessible from the container_mirror moduleFunction ContainerMirror.productJson is not accessible from the container_mirror moduleFunction ContainerMirror.productJson is not accessible from the container_mirror moduleFunction ContainerMirror.productJson is not accessible from the container_mirror moduleinit() 🔗
Init creates an example yaml config for cicd to use
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
Example
Function ContainerMirror.init is not accessible from the container_mirror moduleFunction ContainerMirror.init is not accessible from the container_mirror moduleFunction ContainerMirror.init is not accessible from the container_mirror moduleFunction ContainerMirror.init is not accessible from the container_mirror modulemirror() 🔗
Returns a container that echoes whatever string argument is provided func (m *ContainerMirror) Mirror() *Container {
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
Example
Function ContainerMirror.mirror is not accessible from the container_mirror moduleFunction ContainerMirror.mirror is not accessible from the container_mirror moduleFunction ContainerMirror.mirror is not accessible from the container_mirror moduleFunction ContainerMirror.mirror is not accessible from the container_mirror modulebuild() 🔗
Build - builds the container image
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| index | Integer ! | 0 | No description provided |
| src | Directory ! | - | No description provided |
| version | String ! | "latest" | No description provided |
| isDev | Boolean ! | true | No description provided |
Example
Function ContainerMirror.build is not accessible from the container_mirror moduleFunction ContainerMirror.build is not accessible from the container_mirror moduleFunction ContainerMirror.build is not accessible from the container_mirror moduleFunction ContainerMirror.build is not accessible from the container_mirror modulemanifest() 🔗
Manifest - configures manifest in registry. not meant to be run locally
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| version | String ! | "latest" | No description provided |
| actor | Secret ! | - | GitHub actor, --token=env:GITHUB_API_TOKEN,--token=cmd:"gh auth token" |
| token | Secret ! | - | GitHub API token, --token=env:GITHUB_API_TOKEN,--token=cmd:"gh auth token" |
Example
Function ContainerMirror.manifest is not accessible from the container_mirror moduleFunction ContainerMirror.manifest is not accessible from the container_mirror moduleFunction ContainerMirror.manifest is not accessible from the container_mirror moduleFunction ContainerMirror.manifest is not accessible from the container_mirror moduleContainerMirrorProductFormat 🔗
index() 🔗
Return Type
Integer ! Example
Function ContainerMirrorProductFormat.index is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.index is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.index is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.index is not accessible from the container_mirror modulerepo() 🔗
Return Type
String ! Example
Function ContainerMirrorProductFormat.repo is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.repo is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.repo is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.repo is not accessible from the container_mirror moduletag() 🔗
Return Type
String ! Example
Function ContainerMirrorProductFormat.tag is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.tag is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.tag is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.tag is not accessible from the container_mirror modulearch() 🔗
Return Type
String ! Example
Function ContainerMirrorProductFormat.arch is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.arch is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.arch is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.arch is not accessible from the container_mirror modulerunner() 🔗
Return Type
String ! Example
Function ContainerMirrorProductFormat.runner is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.runner is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.runner is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.runner is not accessible from the container_mirror moduletargetImage() 🔗
without architecture suffix
Return Type
String ! Example
Function ContainerMirrorProductFormat.targetImage is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.targetImage is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.targetImage is not accessible from the container_mirror moduleFunction ContainerMirrorProductFormat.targetImage is not accessible from the container_mirror module