Documentation
¶
Overview ¶
Package hub implements the `hub` 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 Get(ctx context.Context, c *platform.Client, o GetOptions) error
- func List(ctx context.Context, c *platform.Client, explicitType string) error
- func Resync(ctx context.Context, c *platform.Client, idText string) error
- type ApplyOptions
- type DeleteOptions
- type GetOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ReadOnly = []string{"version", "templates", "lastSync", "lastRepositoryChange", "syncError", "created", "createdBy", "edited", "editedBy"}
What the last synchronisation found and who edited the hub is the platform's. The version is dropped as `service get` drops it.
Functions ¶
Types ¶
type ApplyOptions ¶
type DeleteOptions ¶
type GetOptions ¶
type GetOptions struct {
ID, File, Type string
}
Click to show internal directories.
Click to hide internal directories.