resource

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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