From 7f093e51941f422cd456af4442a32b5954993bb2 Mon Sep 17 00:00:00 2001 From: Ondrej Sika Date: Sun, 16 Jun 2024 00:12:57 +0200 Subject: [PATCH] feat(cmd/scripts/ins_oxs_cz): Create wrapper around curl to ins.oxs.cz --- cmd/cmd.go | 1 + cmd/scripts/ins_oxs_cz/ins_oxs_cz.go | 43 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 cmd/scripts/ins_oxs_cz/ins_oxs_cz.go diff --git a/cmd/cmd.go b/cmd/cmd.go index 627acf5..92ab092 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -192,6 +192,7 @@ import ( _ "github.com/sikalabs/slu/cmd/scripts/gitlab_ci/update_docker_images" _ "github.com/sikalabs/slu/cmd/scripts/gitstats_docker" _ "github.com/sikalabs/slu/cmd/scripts/infracost_here" + _ "github.com/sikalabs/slu/cmd/scripts/ins_oxs_cz" _ "github.com/sikalabs/slu/cmd/scripts/kubernetes" _ "github.com/sikalabs/slu/cmd/scripts/kubernetes/create_cluster_admin" _ "github.com/sikalabs/slu/cmd/scripts/kubernetes/create_kubernetes_api_ingress" diff --git a/cmd/scripts/ins_oxs_cz/ins_oxs_cz.go b/cmd/scripts/ins_oxs_cz/ins_oxs_cz.go new file mode 100644 index 0000000..94022f1 --- /dev/null +++ b/cmd/scripts/ins_oxs_cz/ins_oxs_cz.go @@ -0,0 +1,43 @@ +package ins_oxs_cz + +import ( + "fmt" + + parent_cmd "github.com/sikalabs/slu/cmd/scripts" + "github.com/sikalabs/slu/utils/sh_utils" + "github.com/spf13/cobra" +) + +var FlagDry bool + +var Cmd = &cobra.Command{ + Use: "ins-oxs-cz