Documentation ¶
Index ¶
- func NewDefaultTableConvertor(defaultQualifiedResource schema.GroupResource) rest.TableConvertor
- type Storage
- func (r *Storage) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (r *Storage) Destroy()
- func (r *Storage) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
- func (r *Storage) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)
- func (r *Storage) NamespaceScoped() bool
- func (r *Storage) New() runtime.Object
- func (r *Storage) NewList() runtime.Object
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 (*Storage) GroupVersionKind ¶
func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
func (*Storage) List ¶
func (r *Storage) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)
func (*Storage) NamespaceScoped ¶
Click to show internal directories.
Click to hide internal directories.