orchestrator

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Orchestrator

type Orchestrator struct {
	// contains filtered or unexported fields
}

Orchestrator is the entry-point of the commands and handles high level things like implementing goroutines and showing terminal output

func NewOrchestrator

func NewOrchestrator(options *configuration.AppOptions) Orchestrator

NewOrchestrator creates a new orchestrator instance

func (*Orchestrator) DeleteImagesWithNoKeepReason

func (orchestrator *Orchestrator) DeleteImagesWithNoKeepReason(repos []cr.Repository) cr.RepoDeletionResult

DeleteImagesWithNoKeepReason deletes the images that do not have a keep reason

func (Orchestrator) GetAllRepos

func (orchestrator Orchestrator) GetAllRepos() []cr.Repository

GetAllRepos parses the repos of the repository

func (*Orchestrator) Init

func (orchestrator *Orchestrator) Init()

Init does all the required steps (like logging-in into the container registry, if needed) before starting doing CR api calls

Jump to

Keyboard shortcuts

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