models

package
v0.0.0-...-0a8a74a Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPool

func NewPool(size int, log ants.Logger) error

func Stop

func Stop()

Types

type Branch

type Branch = backend.Branch

type File

type File = backend.File

type RepoFile

type RepoFile = backend.RepoFile

type SyncFileOption

type SyncFileOption struct {
	Branch
	BranchSHA string   `json:"branch_sha" required:"true"`
	Files     []string `json:"files" required:"true"`
}

func (SyncFileOption) Create

func (s SyncFileOption) Create() error

type SyncRepoFileOption

type SyncRepoFileOption struct {
	Branch
	BranchSHA string   `json:"branch_sha" required:"true"`
	FileNames []string `json:"file_names" required:"true"`
}

func (SyncRepoFileOption) Create

func (s SyncRepoFileOption) Create() error

Jump to

Keyboard shortcuts

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