channels

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindFlags

type BindFlags struct {
	IndexImage      string `json:"index-image"`
	Limit           int32  `json:"limit"`
	Filter          string `json:"filter"`
	OutputPath      string `json:"outputPath"`
	OutputFormat    string `json:"outputFormat"`
	ServerMode      bool   `json:"serverMode"`
	ContainerEngine string `json:"containerEngine"`
}

type Column

type Column struct {
	PackageName               string   `json:"packageName"`
	ChannelName               string   `json:"channelName"`
	IsUsingSkips              bool     `json:"isUsingSkips,omitempty"`
	IsUsingSkipRange          bool     `json:"isUsingSkipRange,omitempty"`
	IsFollowingNameConvention bool     `json:"isFollowingNameConvention,omitempty"`
	HasInvalidSkipRange       bool     `json:"HasInvalidSkipRange,omitempty"`
	HasInvalidVersioning      bool     `json:"HasInvalidVersioning,omitempty"`
	AuditErrors               []string `json:"errors,omitempty"`
}

func NewColumn

func NewColumn(auditCha models.AuditChannel) *Column

type Data

type Data struct {
	AuditChannel      []models.AuditChannel
	Flags             BindFlags
	IndexImageInspect pkg.DockerInspectManifest
}

func (*Data) BuildChannelsQuery

func (d *Data) BuildChannelsQuery() (string, error)

func (*Data) OutputReport

func (d *Data) OutputReport() error

func (*Data) PrepareReport

func (d *Data) PrepareReport() Report

type Report

type Report struct {
	Columns           []Column  `json:"columns"`
	Flags             BindFlags `json:"flags"`
	IndexImageInspect pkg.DockerInspectManifest
	GenerateAt        string
}

Jump to

Keyboard shortcuts

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