Skip to content

Commit

Permalink
Merge pull request #16 from mlbiam/main
Browse files Browse the repository at this point in the history
migrate to using structs instead of just maps for json when it makes sense
  • Loading branch information
mlbiam authored May 2, 2023
2 parents d270c9c + 8fa1ea3 commit f360412
Show file tree
Hide file tree
Showing 85 changed files with 2,918 additions and 59 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
# Go workspace file
go.work

target
target
ouctl
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export VERSION="0.0.10"
export VERSION="0.0.11"

rm -rf target
mkdir -p target
Expand Down
24 changes: 24 additions & 0 deletions helmmodel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so

# Folders
_obj
_test

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

_testmain.go

*.exe
*.test
*.prof
23 changes: 23 additions & 0 deletions helmmodel/.swagger-codegen-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Swagger Codegen Ignore
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
1 change: 1 addition & 0 deletions helmmodel/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0.42
8 changes: 8 additions & 0 deletions helmmodel/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: go

install:
- go get -d -v .

script:
- go build -v ./

34 changes: 34 additions & 0 deletions helmmodel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Go API client for helmmodel

OpenUnison Helm Objects

## Overview
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.

- API version: v1
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

## Installation
Put the package under your project folder and add the following in import:
```golang
import "./helmmodel"
```

## Documentation for API Endpoints

All URIs are relative to */*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------

## Documentation For Models

- [TrustedCertsInner](docs/TrustedCertsInner.md)

## Documentation For Authorization
Endpoints do not require authorization.


## Author

22 changes: 22 additions & 0 deletions helmmodel/api/swagger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
openapi: 3.0.1
info:
title: OpenUnison Helm Objects
description: OpenUnison Helm Objects
version: v1
servers:
- url: /
paths: {}
components:
schemas:
TrustedCerts:
type: array
items:
$ref: '#/components/schemas/TrustedCerts_inner'
TrustedCerts_inner:
type: object
properties:
name:
type: string
pem_b64:
type: string
x-original-swagger-version: "2.0"
Loading

0 comments on commit f360412

Please sign in to comment.