printable

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Delegate []*openv1alpha1resource.Action
}

func NewAction

func NewAction(actions []*openv1alpha1resource.Action) *Action

func (*Action) ToProtoMessage

func (p *Action) ToProtoMessage() proto.Message

func (*Action) ToTable

func (p *Action) ToTable(opts *table.PrintOpts) table.Table

type ActionRun

type ActionRun struct {
	Delegate []*openv1alpha1resource.ActionRun
}

func NewActionRun

func NewActionRun(actionRuns []*openv1alpha1resource.ActionRun) *ActionRun

func (*ActionRun) ToProtoMessage

func (p *ActionRun) ToProtoMessage() proto.Message

func (*ActionRun) ToTable

func (p *ActionRun) ToTable(opts *table.PrintOpts) table.Table

type Event

type Event struct {
	Delegate []*openv1alpha1resource.Event
}

func NewEvent

func NewEvent(events []*openv1alpha1resource.Event) *Event

func (*Event) ToProtoMessage

func (p *Event) ToProtoMessage() proto.Message

func (*Event) ToTable

func (p *Event) ToTable(opts *table.PrintOpts) table.Table

type File

type File struct {
	Delegate []*openv1alpha1resource.File
}

func NewFile

func NewFile(files []*openv1alpha1resource.File) *File

func (*File) ToProtoMessage

func (p *File) ToProtoMessage() proto.Message

func (*File) ToTable

func (p *File) ToTable(opts *table.PrintOpts) table.Table

type Interface

type Interface interface {
	// contains filtered or unexported methods
}

type Project

type Project struct {
	Delegate       []*openv1alpha1resource.Project
	FileSystemInfo map[string]*openv1alpha1resource.FileSystem
}

func NewProject

func NewProject(projects []*openv1alpha1resource.Project) *Project

func NewProjectWithFileSystemInfo added in v1.5.0

func NewProjectWithFileSystemInfo(projects []*openv1alpha1resource.Project, fsInfo map[string]*openv1alpha1resource.FileSystem) *Project

func (*Project) ToProtoMessage

func (p *Project) ToProtoMessage() proto.Message

func (*Project) ToTable

func (p *Project) ToTable(opts *table.PrintOpts) table.Table

type Record

type Record struct {
	Delegate                  []*openv1alpha1resource.Record
	NextPageToken             string
	UserNames                 map[string]string
	CSVCustomFieldSchemaOrder []string
}

func NewRecord

func NewRecord(records []*openv1alpha1resource.Record, nextPageToken string) *Record

func NewRecordWithUserNames added in v1.6.0

func NewRecordWithUserNames(records []*openv1alpha1resource.Record, nextPageToken string, userNames map[string]string) *Record

func (*Record) ToProtoMessage

func (p *Record) ToProtoMessage() proto.Message

func (*Record) ToTable

func (p *Record) ToTable(opts *table.PrintOpts) table.Table

type RecordWithMetadata added in v1.2.0

type RecordWithMetadata struct {
	Record *openv1alpha1resource.Record
	URL    string
}

RecordWithMetadata wraps a single record with additional metadata like URL

func NewRecordWithMetadata added in v1.2.0

func NewRecordWithMetadata(record *openv1alpha1resource.Record, url string) *RecordWithMetadata

func (*RecordWithMetadata) ToProtoMessage added in v1.2.0

func (r *RecordWithMetadata) ToProtoMessage() proto.Message

ToProtoMessage serializes the full Record proto and injects the URL field.

func (*RecordWithMetadata) ToTable added in v1.2.0

func (r *RecordWithMetadata) ToTable(opts *table.PrintOpts) table.Table

ToTable implements the table output format

type RegistryCredential added in v1.4.0

type RegistryCredential struct {
	Username string
	Password string
}

RegistryCredential represents a docker credential pair for printing.

func NewRegistryCredential added in v1.4.0

func NewRegistryCredential(username, password string) *RegistryCredential

func (*RegistryCredential) ToProtoMessage added in v1.4.0

func (c *RegistryCredential) ToProtoMessage() proto.Message

func (*RegistryCredential) ToTable added in v1.4.0

func (c *RegistryCredential) ToTable(opts *table.PrintOpts) table.Table

type Role added in v1.5.0

type Role struct {
	Delegate      []*openv1alpha1resource.Role
	NextPageToken string
}

func NewRole added in v1.5.0

func NewRole(roles []*openv1alpha1resource.Role, nextPageToken string) *Role

func (*Role) ToProtoMessage added in v1.5.0

func (p *Role) ToProtoMessage() proto.Message

func (*Role) ToTable added in v1.5.0

func (p *Role) ToTable(opts *table.PrintOpts) table.Table

type SingleUser added in v1.5.0

type SingleUser struct {
	Delegate *openv1alpha1resource.User
}

func NewSingleUser added in v1.5.0

func NewSingleUser(user *openv1alpha1resource.User) *SingleUser

func (*SingleUser) ToProtoMessage added in v1.5.0

func (p *SingleUser) ToProtoMessage() proto.Message

func (*SingleUser) ToTable added in v1.5.0

func (p *SingleUser) ToTable(opts *table.PrintOpts) table.Table

type User added in v1.5.0

type User struct {
	Delegate      []*openv1alpha1resource.User
	NextPageToken string
}

func NewUser added in v1.5.0

func NewUser(users []*openv1alpha1resource.User, nextPageToken string) *User

func (*User) ToProtoMessage added in v1.5.0

func (p *User) ToProtoMessage() proto.Message

func (*User) ToTable added in v1.5.0

func (p *User) ToTable(opts *table.PrintOpts) table.Table

Jump to

Keyboard shortcuts

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