api

package
v0.1.0-rc.24 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupByContainerRepository = "container_repo"
	GroupByGitRepository       = "git_repo"
	GroupByHelmRepository      = "helm_repo"

	OrderByFirstSeen = "first_seen"
	OrderByTag       = "tag"
)

Variables

This section is empty.

Functions

func NewHealthChecker

func NewHealthChecker() grpchealth.Checker

Types

type ByFirstSeen

type ByFirstSeen []*apiv1alpha1.Freight

func (ByFirstSeen) Len

func (a ByFirstSeen) Len() int

func (ByFirstSeen) Less

func (a ByFirstSeen) Less(i, j int) bool

func (ByFirstSeen) Swap

func (a ByFirstSeen) Swap(i, j int)

type ByTag

type ByTag []*apiv1alpha1.Freight

NOTE: sorting by tag will sort by the first container image we found or the first helm chart we found in the freight.

func (ByTag) Len

func (a ByTag) Len() int

func (ByTag) Less

func (a ByTag) Less(i, j int) bool

func (ByTag) Swap

func (a ByTag) Swap(i, j int)

type Server

type Server interface {
	Serve(ctx context.Context, l net.Listener) error
}

func NewServer

func NewServer(
	cfg config.ServerConfig,
	client kubernetes.Client,
) (Server, error)

Directories

Path Synopsis
types

Jump to

Keyboard shortcuts

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