Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImageName ¶
func BuildImageName(format BuildFormat, image string, version string, branch string) string
BuildImageName builds a Docker image tag for build, push or deploy
Types ¶
type BuildFormat ¶
type BuildFormat int
BuildFormat defines the docker image tag format that is used during the build process
const BranchAndSHAFormat BuildFormat = 2
BranchAndSHAFormat uses "latest-<branch>-<sha>" as the docker tag
const DefaultFormat BuildFormat = 0
DefaultFormat as defined in the YAML file or appending :latest
const DescribeFormat BuildFormat = 3
DescribeFormat uses the git-describe output as the docker tag
const DigestFormat BuildFormat = 4
DigestFormat
const SHAFormat BuildFormat = 1
SHAFormat uses "latest-<sha>" as the docker tag
type FunctionDescription ¶
type FunctionDescription struct { types.FunctionStatus Status string InvocationCount int URL string AsyncURL string }
FunctionDescription information related to a function
type KubernetesSecret ¶
type KubernetesSecret struct { Kind string `json:"kind"` ApiVersion string `json:"apiVersion"` Metadata KubernetesSecretMetadata `json:"metadata"` Data map[string]string `json:"data"` }
type Metadata ¶
type Metadata struct { Name string `yaml:"name,omitempty"` Namespace string `yaml:"namespace,omitempty"` Annotations map[string]string `yaml:"annotations,omitempty"` }
Metadata metadata of the object
type StoreItem ¶
type StoreItem struct { Icon string `json:"icon"` Title string `json:"title"` Description string `json:"description"` Image string `json:"image"` Name string `json:"name"` Fprocess string `json:"fprocess"` Network string `json:"network"` RepoURL string `json:"repo_url"` Environment map[string]string `json:"environment"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem"` }
StoreItem represents an item of store
Click to show internal directories.
Click to hide internal directories.