This is a tool to validate the Pull Secret file from the command line interface.

Overview

pullsecret-validator-cli

Description

This is a tool to validate the Pull Secret file from the command line interface. This repository and its contents are completely UNSUPPORTED in any way and are not part of official documentation.

Install it (Windows/macOS/Linux)

  • To Install the binary in your system just get the latest release:

https://github.com/RHsyseng/pullsecret-validator-cli/releases/latest

  • Download the file for your OS distribution (Go Binary complied for several OS)
  • Unzip the binary into a folder inside your $PATH

How to Use it

To show the instructions or the help message

./pullsecret-validator-cli -h

To validate the pull secret file use the path/filename structure with the -f flag. This is the required param. Without -f the program will show you the options.

./pullsecret-validator-cli -f /home/alknopfler/pull-secret.json

Output

Output formats available:

  • table
  • json
  • yaml

By default the output format is table. If you want to use another one use the -o flag:

./pullsecret-validator-cli -f /home/alknopfler/pull-secret.json -o yaml

Output examples:

Usage example output:

img/img_1.png

The default output format is "table", so if you don't use the -o flag, the output will be shown in a table format

img/img.png

Json format output:

img/img_2.png

Yaml format output:

img/img_3.png

Reference

This is the CLI (Command Line Interface) version of the pull secret validator Also you could use the web version published just only for internal staff

Developer

Github actions deployed to create builds for different Architectures. Also, created the asset for releases. Just need to create a tag/alias to trigger the github actions

Releases(v1.0.6)
Owner
Red Hat Systems Engineering Team
Red Hat Systems Engineering Team
An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.

ozzo-validation Description ozzo-validation is a Go package that provides configurable and extensible data validation capabilities. It has the followi

Ozzo Framework 2.2k Jul 26, 2021
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.

Validate golang request data with simple rules. Highly inspired by Laravel's request validation. Installation Install the package using $ go get githu

Saddam H 999 Jul 11, 2021
This package provides a framework for writing validations for Go applications.

github.com/gobuffalo/validate This package provides a framework for writing validations for Go applications. It does provide you with few validators,

Buffalo - The Go Web Eco-System 59 Apr 1, 2021
jio is a json schema validator similar to joi

jio Make validation simple and efficient ! 中文文档 Why use jio? Parameter validation in Golang is really a cursing problem. Defining tags on structs is n

faceair 60 Jul 23, 2021
This is a tool to validate the Pull Secret file from the command line interface.

pullsecret-validator-cli Description This is a tool to validate the Pull Secret file from the command line interface. This repository and its contents

Red Hat Systems Engineering Team 3 Jul 18, 2021
[Go] Package of validators and sanitizers for strings, numerics, slices and structs

govalidator A package of validators and sanitizers for strings, structs and collections. Based on validator.js. Installation Make sure that Go is inst

Alex Saskevich 4.8k Jul 25, 2021
:balloon: A lightweight struct validator for Go

gody Go versions supported Installation go get github.com/guiferpa/gody/v2 Usage package main import ( "encoding/json" "fmt" "net/http"

Guilherme Paixão 49 Feb 18, 2021
This project is a Library to validate a pull secret

lib-ps-validator Description This repository and its contents are completely UNSUPPORTED in any way and are not part of official documentation. Lib to

Red Hat Systems Engineering Team 3 Jul 13, 2021
Library providing opanapi3 and Go types for store/validation and transfer of ISO-4217, ISO-3166, and other types.

go-types This library has been created with the purpose to facilitate the store, validation, and transfer of Go ISO-3166/ISO-4217/timezones/emails/URL

Mikalai Konan 11 Jul 15, 2021
Swagger builder and input validation for Go servers

crud A Swagger/OpenAPI builder and validation library for building HTTP/REST APIs. Heavily inspired by hapi and the hapi-swagger projects. No addition

Jake Coffman 14 May 25, 2021
:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

Package validator Package validator implements value validations for structs and individual fields based on tags. It has the following unique features

Go Playgound 8.3k Jul 23, 2021
Struct validation using tags

Govalid Use Govalid to validate structs. Documentation For full documentation see pkg.go.dev. Example package main import ( "fmt" "log" "strings"

Travis Harmon 22 Jun 22, 2021
Useful Go String methods

Go-string Useful string utility functions for Go projects. Either because they are faster than the common Go version or do not exist in the standard l

Ben Boyter 151 Jun 22, 2021
Simple JSON type checking.

go-map-schema Table of Contents Overview Use Case Do I Really Need This? Examples Usage Full Code Output Universal Type Names Overview go-map-schema i

Jessie 81 Jun 30, 2021