resource

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Create a repo

func Delete

func Delete(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Delete a repo

func List

func List(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

List ...

func Read

func Read(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Read a repo status

func Update

func Update(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Update a repo

Types

type Model

type Model struct {
	Name        *encoding.String `json:"Name,omitempty"`
	Owner       *encoding.String `json:"Owner,omitempty"`
	Description *encoding.String `json:"Description,omitempty"`
	Homepage    *encoding.String `json:"Homepage,omitempty"`
	OauthToken  *encoding.String `json:"OauthToken,omitempty"`
	URL         *encoding.String `json:"URL,omitempty"`
}

Model is autogenerated from the json schema

Jump to

Keyboard shortcuts

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