Documentation ¶
Index ¶
Constants ¶
View Source
const (
//DependencyPrefix is a prefix for env variables
DependencyPrefix = "DEPENDENCY_"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entrypoint ¶
type Entrypoint struct {
// contains filtered or unexported fields
}
Entrypoint is a main struct which checks dependencies
func New ¶
func New(config *rest.Config) (entry *Entrypoint, err error)
New is a constructor for entrypoint
func (Entrypoint) Client ¶
func (e Entrypoint) Client() (client cli.ClientInterface)
func (Entrypoint) Resolve ¶
func (e Entrypoint) Resolve()
Resolve is a main loop which iterates through all dependencies and resolves them
type EntrypointInterface ¶
type EntrypointInterface interface { Resolve() Client() cli.ClientInterface }
type Resolver ¶
type Resolver interface {
IsResolved(entrypoint EntrypointInterface) (bool, error)
}
Resolver is an interface which all dependencies should implement
Click to show internal directories.
Click to hide internal directories.