Documentation ¶
Index ¶
- Constants
- func Build(imageData *model.ImageData) error
- func BuildImages(imagesToBuild []*model.ImageData) error
- func Contains(slice []string, element string) bool
- func DisplayChildren(imageToDisplay []*model.ImageData)
- func ExcludeExtFileAndMergePath(filesUpdated []string) []string
- func FindDockerFile(searchPath string, root string) (string, error)
- func GenerateReadmeImage(image *model.ImageData, data []byte) error
- func GenerateReadmeImages(imagesToGenerate []*model.ImageData, template []byte) error
- func GenerateReadmeIndex(imagesToGenerate []*model.ImageData, data []byte) error
- func GetAllImagesData(dirPath string) []*model.ImageData
- func GetCommitFiles(repositoryPath string, hash string) ([]string, error)
- func GetImageTemplate() ([]byte, error)
- func GetIndexTemplate() ([]byte, error)
- func GetStatus(repositoryPath string) ([]string, error)
- func GetUrl(currentImage model.ImageData, destImage model.ImageData) (string, error)
- func MarkImagesToBuild(imagePathsToBuild []string) []*model.ImageData
- func Push(tag string) error
- func PushImages(imagesToBuild []*model.ImageData) error
- func SortImages(imagesToSort []*model.ImageData) []*model.ImageData
- type AuthConfig
- type ImageType
Constants ¶
View Source
const DockerAuthUrl = "https://index.docker.io/v1/"
View Source
const DockerDomain = "docker.io"
View Source
const DockerHubUrl = "https://hub.docker.com/"
Variables ¶
This section is empty.
Functions ¶
func BuildImages ¶
func DisplayChildren ¶
func ExcludeExtFileAndMergePath ¶
exclude extension file + find a dockerfile path for multiple similar sub dir
func GenerateReadmeImages ¶
func GenerateReadmeIndex ¶
func GetAllImagesData ¶
func GetImageTemplate ¶
func GetIndexTemplate ¶
func MarkImagesToBuild ¶
mark images to build
func PushImages ¶
Types ¶
type AuthConfig ¶
type AuthConfig struct { AuthConfigs map[string]types.AuthConfig `json:"auths,omitempty"` HttpHeaders struct { UserAgent string `json:"User-Agent,omitempty"` } }
func GetAuthConfig ¶
func GetAuthConfig() (AuthConfig, error)
func (*AuthConfig) GetAuthConfigs ¶
func (authConfig *AuthConfig) GetAuthConfigs() map[string]types.AuthConfig
Click to show internal directories.
Click to hide internal directories.