Help us shape the future of Go! Take the 2026 Go Developer Survey

repository

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationRepository

type ApplicationRepository interface {
	Create(app requests.ApplicationRequest) (responses.AppResponse, error)
	GetAll() ([]responses.AppResponse, error)
	Delete(id string) error
	GetByID(id string) (responses.AppResponse, error)
}

func NewApplicationRepository

func NewApplicationRepository() ApplicationRepository

type AuthRepository

type AuthRepository interface {
	LoginDeviceCode() (responses.DeviceCodeResponse, error)
	LoginToken(deviceCode, clientID, authDomain string) (responses.LoginTokenResponse, error)
	Whoami() (responses.UserInfoResponse, error)
}

func NewAuthRepository

func NewAuthRepository() AuthRepository

NewAuthRepository creates a new instance of AuthRepository

type EnvTypeRepository

type EnvTypeRepository interface {
	GetAll() ([]responses.EnvTypeResponse, error)
	GetByID(id string) (responses.EnvTypeResponse, error)
	GetByAppID(appID string) ([]responses.EnvTypeResponse, error)
}

func NewEnvTypeRepository

func NewEnvTypeRepository() EnvTypeRepository

type EnvVariableRepository

type EnvVariableRepository interface {
	GetAllEnv() ([]responses.EnvironmentVariable, error)
	BatchCreateEnv(env requests.BatchSyncEnvRequest) error
	BatchUpdateEnv(env requests.BatchSyncEnvRequest) error
	BatchDeleteEnv(env requests.BatchDeleteRequest) error
}

func NewEnvVariableRepository

func NewEnvVariableRepository(appID, envTypeID string) EnvVariableRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL