with configs
This commit is contained in:
@@ -22,8 +22,7 @@ var GenericDataSourceResourceInfo = utils.NewResourceInfo(GROUP, VERSION,
|
||||
utils.TableColumns{
|
||||
Definition: []metav1.TableColumnDefinition{
|
||||
{Name: "Name", Type: "string", Format: "name"},
|
||||
{Name: "Title", Type: "string", Format: "string", Description: "The datasource title"},
|
||||
{Name: "APIVersion", Type: "string", Format: "string", Description: "API Version"},
|
||||
{Name: "Title", Type: "string", Format: "string", Description: "Title"},
|
||||
{Name: "Created At", Type: "date"},
|
||||
},
|
||||
Reader: func(obj any) ([]interface{}, error) {
|
||||
@@ -33,8 +32,7 @@ var GenericDataSourceResourceInfo = utils.NewResourceInfo(GROUP, VERSION,
|
||||
}
|
||||
return []interface{}{
|
||||
m.Name,
|
||||
"???",
|
||||
m.APIVersion,
|
||||
m.Spec.Title,
|
||||
m.CreationTimestamp.UTC().Format(time.RFC3339),
|
||||
}, nil
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user