GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - recode-sh/recode: The Recode's entities shared by all other packages including the Recode CLI

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.recode/hooks
.recode/hooks
 
 
actions
actions
 
 
entities
entities
 
 
features
features
 
 
github
github
 
 
queues
queues
 
 
stepper
stepper
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

Recode

This repository contains all the entities, actions and features used by all the other packages (including the Recode CLI).

(For the clean architecture aficionados, we are in the innermost circle (ie: the entities one).)

Table of contents

  • Requirements
  • Usage
  • The future
  • License

Requirements

This repository makes use of go generics and, as a result, needs to have go >= 1.18 as a requirement.

Usage

This repository is not meant to be used standalone (you could see that there is no main.go file). It is only meant to be imported by other packages.

As an example, all the cloud providers added to the Recode CLI need to conform to the CloudService interface:

// entities/cloud_service.go
type CloudService interface {
    CreateRecodeConfigStorage(stepper.Stepper) error
    RemoveRecodeConfigStorage(stepper.Stepper) error
    
    LookupRecodeConfig(stepper.Stepper) (*Config, error)
    SaveRecodeConfig(stepper.Stepper, *Config) error
    
    CreateCluster(stepper.Stepper, *Config, *Cluster) error
    RemoveCluster(stepper.Stepper, *Config, *Cluster) error
    
    CheckInstanceTypeValidity(stepper.Stepper, string) error
    
    CreateDevEnv(stepper.Stepper, *Config, *Cluster, *DevEnv) error
    RemoveDevEnv(stepper.Stepper, *Config, *Cluster, *DevEnv) error
    
    StartDevEnv(stepper.Stepper, *Config, *Cluster, *DevEnv) error
    StopDevEnv(stepper.Stepper, *Config, *Cluster, *DevEnv) error
}

The future

This project is 100% community-driven, meaning that except for bug fixes no more features will be added.

The only features that will be added are the ones that will be posted as an issue and that will receive a significant amount of upvotes (>= 10 currently).

License

Recode is available as open source under the terms of the MIT License.

About

The Recode's entities shared by all other packages including the Recode CLI

recode.sh

Topics

golangrecode

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.