commands

package
v0.0.0-...-8dfe6ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2019 License: MIT Imports: 36 Imported by: 0

Documentation

Overview

Copyright (c) Alex Ellis 2017. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.

Index

Constants

View Source
const DefaultTemplateRepository = "https://github.com/openfaas/templates.git"

DefaultTemplateRepository contains the Git repo for the official templates

View Source
const (
	// DefaultTemplatesStore is the URL where the official store can be found
	DefaultTemplatesStore = "https://raw.githubusercontent.com/openfaas/store/master/templates.json"
)
View Source
const (
	// NoTLSWarn Warning thrown when no SSL/TLS is used
	NoTLSWarn = "WARNING! Communication is not secure, please consider using HTTPS. Letsencrypt.org offers free SSL/TLS certificates."
)

Variables

This section is empty.

Functions

func Execute

func Execute(customArgs []string)

Execute TODO

func PullTemplates

func PullTemplates(templateURL string) error

PullTemplates pulls templates from specified git remote. templateURL may be a pinned repository.

Types

type DeployFlags

type DeployFlags struct {
	// contains filtered or unexported fields
}

DeployFlags holds flags that are to be added to commands.

type TemplateInfo

type TemplateInfo struct {
	TemplateName string `json:"template"`
	Platform     string `json:"platform"`
	Language     string `json:"language"`
	Source       string `json:"source"`
	Description  string `json:"description"`
	Repository   string `json:"repo"`
	Official     string `json:"official"`
}

TemplateInfo is the definition of a template which is part of the store

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL