examples

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

README

Examples

List examples in our CLI with coder templates init.

Submit an issue if you encounter any issues!

Getting Started

Clone this repository to create a project from any example listed here:

git clone https://github.com/coder/coder
cd examples/aws-macos
coder templates create

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(exampleID string) ([]byte, error)

Archive returns a tar by example ID.

Types

type Example

type Example struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Markdown    string `json:"markdown"`
}

func List

func List() ([]Example, error)

List returns all embedded examples.

Jump to

Keyboard shortcuts

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