Documentation
¶
Overview ¶
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: AGPL-3.0-or-later
Index ¶
- func ArrayContains(a []string, str string) bool
- func GetPackageManager(ctx *context.Context, containerId string, cli *client.Client) (string, error)
- func GetPackageManagerDefaultPackages(pm string) []string
- func GetPackageManagerInstallCommand(pm string, packages []string) ([]string, error)
- func GetPackageManagerUpdateCommand(pm string) ([]string, error)
- func GetPackageManagerUpgradeCommand(pm string) ([]string, error)
- func GetRandomString(n int) string
- func IsFileExists(filename string) bool
- func RemoveFromArray(a, b []string) []string
- type Args
- type Artifacts
- type BuildStep
- type Container
- type Executor
- type Extension
- type Fabricate
- type File
- type Hook
- type Mount
- type PrefixedWriter
- type Project
- type Repository
- type Secret
- type StringArray
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayContains ¶
func GetPackageManager ¶
func GetRandomString ¶
func IsFileExists ¶
func RemoveFromArray ¶
Types ¶
type Container ¶
type Container struct { Project Project Env map[string]string AllowConcurrentExecution bool Executors []Executor Extensions []Extension SshPort int // contains filtered or unexported fields }
func (*Container) GetElapsedTimef ¶
func (*Container) StartSshServer ¶
type PrefixedWriter ¶
type PrefixedWriter struct {
// contains filtered or unexported fields
}
type Project ¶
type Project struct { Name string `yaml:"name"` Image string `yaml:"image"` //Executor string `yaml:"executor"` Packages []string `yaml:"packages"` Repositories []Repository `yaml:"repositories"` Extensions []string `yaml:"extensions"` Env map[string]string `yaml:"env"` Secrets []string `yaml:"secrets"` Pipeline []BuildStep `yaml:"pipeline"` Artifacts Artifacts `yaml:"artifacts"` Mounts []Mount `yaml:"mounts"` }
type Repository ¶
type StringArray ¶
type StringArray []string
func (*StringArray) Set ¶
func (s *StringArray) Set(v string) error
func (*StringArray) String ¶
func (s *StringArray) String() string
Click to show internal directories.
Click to hide internal directories.