Documentation ¶
Index ¶
- func ToGenericResource(item *unstructured.Unstructured, apiType *kmapi.ResourceID) (*rsapi.ResourceCalculatorResponse, error)
- type Storage
- func (r *Storage) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (r *Storage) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (r *Storage) Destroy()
- func (r *Storage) GetSingularName() string
- func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
- func (r *Storage) NamespaceScoped() bool
- func (r *Storage) New() runtime.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToGenericResource ¶
func ToGenericResource(item *unstructured.Unstructured, apiType *kmapi.ResourceID) (*rsapi.ResourceCalculatorResponse, error)
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func NewStorage(kc client.Client, clusterID string, a authorizer.Authorizer) *Storage
func (*Storage) ConvertToTable ¶
func (*Storage) GetSingularName ¶ added in v0.0.40
func (*Storage) GroupVersionKind ¶
func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
func (*Storage) NamespaceScoped ¶
Click to show internal directories.
Click to hide internal directories.