Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused DuckSpec fields ? #3

Open
rhuss opened this issue Feb 11, 2020 · 0 comments
Open

Unused DuckSpec fields ? #3

rhuss opened this issue Feb 11, 2020 · 0 comments

Comments

@rhuss
Copy link

rhuss commented Feb 11, 2020

What are these fields for ? -->

// DuckType names and info
Names NamesSpec `json:"names"`

// Custom Columns
AdditionalPrinterColumns []apiextensionsv1beta1.CustomResourceColumnDefinition `json:"additionalPrinterColumns,omitempty"`

// Partial Schema
Schema *apiextensionsv1beta1.CustomResourceValidation `json:"schema,omitempty"`

Schema I guess is for documentation purposes so that a user knows how to extract information from a duck instance by applying the partial schema (but a client probably already knows how to deal with an addressable when it looks up that duck CO by name).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant