Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
Clone runs `git clone` operation for specified URL and returns local path to repository root directory
func IsRegistry ¶
IsRegistry return true if path "behaves" like URL to docker registry
Types ¶
type Copy ¶
Copy contains information to copy local path to remote destination
type Function ¶
type Function struct { Handler string Runtime string Buildargs []string Description string Labels []string Environment map[string]string }
Function describes function definition in serverless format
type YAML ¶
type YAML struct { Service string Description string Provider struct { Name string Registry string RegistrySecret string `yaml:"registry-secret"` Namespace string Runtime string Environment map[string]string MemorySize int } Repository string Functions map[string]Function Include []string }
YAML represents serverless.yaml file structure
func ParseServerlessYAML ¶
ParseServerlessYAML accepts serverless yaml file path and returns decoded structure
Click to show internal directories.
Click to hide internal directories.