Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { Version string `json:"version"` Functions []StoreFunction `json:"functions"` }
Store represents an item of store for version 2
type StoreFunction ¶
type StoreFunction struct { Icon string `json:"icon"` Author string `json:"author,omitempty"` Title string `json:"title"` Description string `json:"description"` Name string `json:"name"` Fprocess string `json:"fprocess"` RepoURL string `json:"repo_url"` ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem"` Environment map[string]string `json:"environment"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` Images map[string]string `json:"images"` }
StoreFunction represents a multi-arch function in the store
func (*StoreFunction) GetImageName ¶
func (s *StoreFunction) GetImageName(platform string) string
GetImageName get image name of function for a platform
Click to show internal directories.
Click to hide internal directories.