8000 GitHub - humblec/k8s-utils: utilities and tools which does a specific job
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

humblec/k8s-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies Parser

Dependencies Parser is a Go program designed to parse YAML files containing dependency information for Kubernetes projects. It can read from a local file or fetch the YAML file directly from GitHub based on the specified Kubernetes version.

Features

  • Parse dependency information from a local YAML file or fetch from GitHub.
  • Supports specifying the Kubernetes version to fetch the appropriate YAML file.
  • Print the name and version of each component specified in the YAML file.

Usage

Installation

  1. Make sure you have Go installed on your system. You can download it from here.

  2. Clone the repository:

git clone https://github.com/humblec/k8s-utils/dependencies-parser.git

Dependencies Parser

Dependencies Parser is a Go program designed to parse YAML files containing dependency information for Kubernetes projects. It can read from a local file or fetch the YAML file directly from GitHub based on the specified Kubernetes version.

Features

  • Parse dependency information from a local YAML file or fetch from GitHub.
  • Supports specifying the Kubernetes version to fetch the appropriate YAML file.
  • Print the name and version of each component specified in the YAML file.

Usage

Installation

  1. Make sure you have Go installed on your system. You can download it from here.

  2. Clone the repository:

git clone https://github.com/humblec/k8s-utils/dependencies-parser.git
  1. Navigate to the project directory:
cd dependencies-parser
  1. Build the program:
go build

Run

Run the program using the following command:

./dependencies-parser [options]

Replace [options] with the desired command-line options.

Options

- `-input`: Specifies the path to the local YAML file containing dependency information. If not provided, the program fetches the YAML file from GitHub based on the Kubernetes version.
- `-k8s-ver`: Specifies the Kubernetes version. If provided, the program fetches the YAML file from GitHub based on this version.

Examples

  1. Parse dependency information from a local YAML file:
./dependencies-parser -input dependencies.yaml
  1. Fetch dependency information from GitHub for Kubernetes version 1.28:
./dependencies-parser -k8s-ver 1.28
  1. Fetch dependency information from GitHub for Kubernetes version v1.29:
./dependencies-parser -k8s-ver v1.29

License

About

utilities and tools which does a specific job

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0