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

feat: Longhorn toolbox CLI #33

Merged
merged 31 commits into from
Jun 19, 2024
Merged

feat: Longhorn toolbox CLI #33

merged 31 commits into from
Jun 19, 2024

Commits on Jun 19, 2024

  1. fix(io): add error handling in FindFile func

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d9f1248 View commit details
    Browse the repository at this point in the history
  2. feat(io): implement max directory depth in FindFiles func

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    cc5957f View commit details
    Browse the repository at this point in the history
  3. test(io): max directory depth in FindFiles func

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    817c5ac View commit details
    Browse the repository at this point in the history
  4. feat(io): list open files in a directory

    This function mimicks the behavior of the "lsof"
    command.
    
    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    66690b6 View commit details
    Browse the repository at this point in the history
  5. test(io): ListOpenFiles

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    e27d01f View commit details
    Browse the repository at this point in the history
  6. feat(io): check if a directory is empty

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    f1744ca View commit details
    Browse the repository at this point in the history
  7. test(io): IsDirectoryEmpty

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    4616255 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a606c0c View commit details
    Browse the repository at this point in the history
  9. test(kubernetes): GetObjMetaAccesser

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    b30ebff View commit details
    Browse the repository at this point in the history
  10. feat(kubernetes): get in-cluster config

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    0caa657 View commit details
    Browse the repository at this point in the history
  11. test(kubernetes): GetInClusterConfig

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    6fa5ffa View commit details
    Browse the repository at this point in the history
  12. feat(kubernetes): is pod container in state

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    330094c View commit details
    Browse the repository at this point in the history
  13. test(kubernetes): IsPodContainerInState

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    c7925c6 View commit details
    Browse the repository at this point in the history
  14. feat(misc): convert given value to string

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    f2b6486 View commit details
    Browse the repository at this point in the history
  15. feat(misc): ConvertTypeToString

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    c956cce View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    38236c3 View commit details
    Browse the repository at this point in the history
  17. test(longhorn): GetVolumeNameFromReplicaDataDirectoryName

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d552f0e View commit details
    Browse the repository at this point in the history
  18. refactor: move IsEngineProcess from utils to longhorn package

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    55c3183 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    1976383 View commit details
    Browse the repository at this point in the history
  20. feat(kubernetes): create/delete/get ClusterRole

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    c1ac4cc View commit details
    Browse the repository at this point in the history
  21. test(kubernetes): Create/Delete/GetClusterRole

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    bc84083 View commit details
    Browse the repository at this point in the history
  22. feat(kubernetes): create/delete/get ClusterRoleBinding

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    7146ba1 View commit details
    Browse the repository at this point in the history
  23. test(kubernetes): Create/Delete/GetClusterRoleBinding

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    30c8926 View commit details
    Browse the repository at this point in the history
  24. feat(kubernetes): create/delete/get ConfigMap

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    b1082cf View commit details
    Browse the repository at this point in the history
  25. test(kubernetes): Create/Delete/GetConfigMap

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d37273a View commit details
    Browse the repository at this point in the history
  26. feat(kubernetes): create/delete/get DaemonSet

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    4f4c5c5 View commit details
    Browse the repository at this point in the history
  27. test(kubernetes): Create/Delete/GetDaemonSet

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    2b9d576 View commit details
    Browse the repository at this point in the history
  28. feat(kubernetes): create/delete/get ServiceAccount

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    c3f6410 View commit details
    Browse the repository at this point in the history
  29. test(kubernetes): Create/Delete/GetServiceAccount

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d75e6f9 View commit details
    Browse the repository at this point in the history
  30. feat(kubernetes): check if DaemonSet is ready

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    b3647b5 View commit details
    Browse the repository at this point in the history
  31. test(kubernetes): IsDaemonSetReady

    Signed-off-by: Chin-Ya Huang <[email protected]>
    c3y1huang committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    f4f499d View commit details
    Browse the repository at this point in the history