v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestRegistryRootResponse

type RestRegistryRootResponse struct {
	Repositories []string `yaml:"repositories,omitempty" json:"repositories,omitempty" xml:"repository,omitempty"`
}

type RestRegistryRootService

type RestRegistryRootService struct {
	Log           log.Logger
	BaseUrl       string
	Configuration model.KubeRepoConfig
	DataManager   model.RepositoryDataManager
}

RestRegistryRootService is an implementation of RestService interface.

func (*RestRegistryRootService) Create

Create is HTTP handler of POST model.Request. Use for adding new record to DNS server.

func (*RestRegistryRootService) Delete

Delete is HTTP handler of DELETE model.Request. Use for removing records on DNS server.

func (*RestRegistryRootService) Read

Read is HTTP handler of GET model.Request. Use for reading existed records on DNS server.

func (*RestRegistryRootService) Update

Update is HTTP handler of PUT model.Request. Use for updating existed records on DNS server.

Jump to

Keyboard shortcuts

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