licensestatus

package
v0.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultTableConvertor

func NewDefaultTableConvertor(defaultQualifiedResource schema.GroupResource) rest.TableConvertor

NewDefaultTableConvertor creates a default convertor; the provided resource is used for error messages if no resource info can be determined from the context passed to ConvertToTable.

Types

type Storage

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

func NewStorage

func NewStorage(reg *storage.LicenseRegistry, rb *storage.RecordBook) *Storage

func (*Storage) ConvertToTable

func (r *Storage) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)

func (*Storage) Destroy

func (r *Storage) Destroy()

func (*Storage) Get

func (r *Storage) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)

func (*Storage) GetSingularName added in v0.0.7

func (r *Storage) GetSingularName() string

func (*Storage) GroupVersionKind

func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind

func (*Storage) List

func (*Storage) NamespaceScoped

func (r *Storage) NamespaceScoped() bool

func (*Storage) New

func (r *Storage) New() runtime.Object

func (*Storage) NewList

func (r *Storage) NewList() runtime.Object

Jump to

Keyboard shortcuts

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