generate

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	Name      string
	Namespace string
	Runtime   string
}

Project structure contains generic fields to generate sample knative service

func (*Project) Generate

func (p *Project) Generate(clientset *client.ConfigSet) error

Generate accept Project object and creates tm-deployable project structure with all required manifests, functions, etc

type SamplesTable

type SamplesTable map[string]service

SamplesTable is a set of service samples with its dependencies, names, fucntions, etc

func NewTable

func NewTable() *SamplesTable

NewTable returns map with runtime name as key and service structure as value

Jump to

Keyboard shortcuts

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