v2

package
v0.0.0-...-6de492c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 0 Imported by: 5

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

Jump to

Keyboard shortcuts

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