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

Expose method for getting CRD details by name. #40

Closed
exu opened this issue Jul 8, 2021 · 0 comments
Closed

Expose method for getting CRD details by name. #40

exu opened this issue Jul 8, 2021 · 0 comments
Assignees
Projects
Milestone

Comments

@exu
Copy link
Member

exu commented Jul 8, 2021

simple method for use inside API for getting CRD details

So to draft what should you do:

  • create /pkg/client/script.go
  • create simple struct with methods ListScripts() []spec.Script (adjust types for real ones 🙂
    )
  • create method GetScript(name string) spec.Spript
  • implement all methods to work with cluster
  • as additional NTH training - check how to test those lib (maybe client-api have directions how to test those endpoints).
  • check how to configure it (on your example config is in cluster config - we need to decide how to use it also on dev machine - it’ll be not in cluster
@exu exu created this issue from a note in MVP (To do) Jul 8, 2021
@exu exu moved this from To do to In progress in MVP Jul 9, 2021
@exu exu moved this from 🔥 In progress to Done ✅ in MVP Jul 26, 2021
@exu exu closed this as completed Jul 29, 2021
@exu exu added this to the 0.5.0 milestone Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
MVP
Done ✅
Development

No branches or pull requests

2 participants