Documentation
¶
Overview ¶
Package template implements the `template` commands.
Index ¶
- Variables
- func Apply(ctx context.Context, c *platform.Client, o ApplyOptions) error
- func Delete(ctx context.Context, c *platform.Client, o DeleteOptions) error
- func Fetch(ctx context.Context, c *platform.Client, id string) (*output.Document, error)
- func Get(ctx context.Context, c *platform.Client, o GetOptions) error
- func Import(ctx context.Context, c *platform.Client, o ImportOptions) error
- func List(ctx context.Context, c *platform.Client, o ListOptions) error
- type ApplyOptions
- type DeleteOptions
- type GetOptions
- type ImportOptions
- type ListOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ReadOnly = []string{"created", "createdBy", "edited", "editedBy", "version"}
Who created and edited a template cannot be sent back. The version is dropped as `service get` drops it, so that an edit in the UI does not turn the next apply into a conflict.
Functions ¶
Types ¶
type ApplyOptions ¶
type DeleteOptions ¶
type GetOptions ¶
type ImportOptions ¶
type ListOptions ¶
Click to show internal directories.
Click to hide internal directories.