Git Product home page Git Product logo

kubectl-view-labels's People

Contributors

flavono123 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

kubectl-view-labels's Issues

create as cli(MVP)

AS-IS

  • just go run main.go

TO-BE

  • kubectl-view_labels [node|no|nodes]
    • the param, node is just a mimic for now

imprv the doc

  • installation
  • take a gif
    • create a sample EKS cluster for

feature requests: node name should be shirnkable

Problem

image

  • too long node names with useless domain(.<region-code>.compute.internal).

Requirement

  • hard to eliding node names
    • for now, render whole result view once and messy

Solution

  • node names should be elided, like label keys are.
    • create node type as model.
    • create glossyText type as text which is new package.
      • has a method View() elide its value by max width len
      • composite labelkey, labelvalue and node.
        • some of Render() should be renamed to View()

refactoring required

the MVP is developed by a noob for Go with the GPT4.
this is just a job-che(i mean Korean "spaghetti" like).

Problem

  • based the bubbletea's tutorial which use ELM arch, but some functions should be in View, are in Update now.
  • coloring tags and drawing those

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.