type defaultTableConvertor … // 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. func NewDefaultTableConvertor(defaultQualifiedResource schema.GroupResource) TableConvertor { … } var swaggerMetadataDescriptions … func (c defaultTableConvertor) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) { … } type errNotAcceptable … func (e errNotAcceptable) Error() string { … } func (e errNotAcceptable) Status() metav1.Status { … }