-
Notifications
You must be signed in to change notification settings - Fork 0
/
nctl.rb
51 lines (44 loc) · 1.33 KB
/
nctl.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Nctl < Formula
desc "Nirmata CLI to scan and remediate Kubernetes manifests, Terraform, and more!"
homepage "https://docs.nirmata.io/nctl/"
version "4.3.2"
on_macos do
on_intel do
url "https://dl.nirmata.io/nctl/nctl_4.3.2/nctl_4.3.2_macos_amd64.zip"
sha256 "46c77315a47ccec2a2331ce8c4ced207091f3a82f0357fd1e793cf45f1589385"
def install
bin.install "nctl"
end
end
on_arm do
url "https://dl.nirmata.io/nctl/nctl_4.3.2/nctl_4.3.2_macos_arm64.zip"
sha256 "f9ec870f7b3625b8d09c434c667f6d48c5d9e22e0221de40b9abfe510809440e"
def install
bin.install "nctl"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://dl.nirmata.io/nctl/nctl_4.3.2/nctl_4.3.2_linux_amd64.zip"
sha256 "fd361d243803b8babbc78243abd785110e0089037521adc8f07a01dd4afddd18"
def install
bin.install "nctl"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://dl.nirmata.io/nctl/nctl_4.3.2/nctl_4.3.2_linux_arm64.zip"
sha256 "ded25d71c131d2e4e2dfbcc62ad4815df40e3e517f78eed31bdbd21d72157376"
def install
bin.install "nctl"
end
end
end
end
end