model

package
v0.0.0-...-c308e5d Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CollectionName = "accounts"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID         primitive.ObjectID `bson:"_id,omitempty"`
	Repository string             `json:"repository"`
	Branch     string             `json:"branch"`
	Domain     DomainDetails      `json:"domain"`
	Settings   Settings           `json:"settings"`
}

type DomainDetails

type DomainDetails struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	Version    string `json:"version"`
	LastCommit string `json:"lastcommit"`
	Status     string `json:"status"`
	Message    string `json:"message"`
}

type Settings

type Settings struct {
	Active     bool   `json:"active"`
	Window     string `json:"window"`
	ForcePrune bool   `json:"forceprune"`
}

Jump to

Keyboard shortcuts

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