From c81f8b544ca8782162df636f7ccdec29a1cca154 Mon Sep 17 00:00:00 2001 From: mcuadros Date: Sun, 29 Mar 2020 22:26:23 +0000 Subject: [PATCH] deploy: 0dc73c5d1cdfce887c2013b77f55368cb229d50f --- docs/example/runtime.star/index.html | 2 +- docs/reference/base64/index.html | 2 +- docs/reference/csv/index.html | 2 +- docs/reference/docker/index.html | 5 +++++ docs/reference/filepath/index.html | 2 +- docs/reference/http/index.html | 2 +- docs/reference/index.html | 2 +- docs/reference/index.xml | 2 +- docs/reference/json/index.html | 2 +- docs/reference/math/index.html | 2 +- docs/reference/os/index.html | 2 +- docs/reference/re/index.html | 2 +- docs/reference/time/index.html | 2 +- docs/reference/types/index.html | 2 +- docs/reference/yaml/index.html | 2 +- index.xml | 2 +- sitemap.xml | 2 +- 17 files changed, 21 insertions(+), 16 deletions(-) create mode 100644 docs/reference/docker/index.html diff --git a/docs/example/runtime.star/index.html b/docs/example/runtime.star/index.html index 6b18e81..cea9feb 100644 --- a/docs/example/runtime.star/index.html +++ b/docs/example/runtime.star/index.html @@ -13,7 +13,7 @@ strings, like in this case to base64 or to make HTTP requests.

< print(msg.body())

Output

ascode is amazing
 

Advanced Modules

Also, AsCode has some more specif modules, like the docker module. The -docker modules allow you to manipulate docker image names.

load("experimental/docker", "docker")
+docker modules allow you to manipulate docker image names.

load("docker", "docker")
 

A docker image tag can be defined using semver, instead of using the infamous ‘latest’ tag, or fixing a particular version. This allows us to be up-to-date without breaking our deployment.

golang = docker.image("golang", "1.13.x")
diff --git a/docs/reference/base64/index.html b/docs/reference/base64/index.html
index 183d584..1ebadc7 100644
--- a/docs/reference/base64/index.html
+++ b/docs/reference/base64/index.html
@@ -1,5 +1,5 @@
 encoding/base64 - AsCode - Terraform Alternative Syntax

encoding/base64

Index

Overview

base64 defines base64 encoding & decoding functions, +

encoding/base64

Index

Overview

base64 defines base64 encoding & decoding functions, often used to represent binary as text.

Functions

def decode

decode(src,encoding="standard") string
 

parse base64 input, giving back the plain string representation

Arguments
nametypedescription
srcstringsource string of base64-encoded text
encodingstringoptional. string to set decoding dialect. allowed values are: standard,standard_raw,url,url_raw

def encode

encode(src,encoding="standard") string
 

return the base64 encoding of src

Arguments
nametypedescription
srcstringsource string to encode to base64
encodingstringoptional. string to set encoding dialect. allowed values are: standard,standard_raw,url,url_raw