Documentation ¶
Index ¶
- type RestRegistryRootResponse
- type RestRegistryRootService
- func (s *RestRegistryRootService) Create(w http.ResponseWriter, r *http.Request)
- func (s *RestRegistryRootService) Delete(w http.ResponseWriter, r *http.Request)
- func (s *RestRegistryRootService) Read(w http.ResponseWriter, r *http.Request)
- func (s *RestRegistryRootService) Update(w http.ResponseWriter, r *http.Request)
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 ¶
func (s *RestRegistryRootService) Create(w http.ResponseWriter, r *http.Request)
Create is HTTP handler of POST model.Request. Use for adding new record to DNS server.
func (*RestRegistryRootService) Delete ¶
func (s *RestRegistryRootService) Delete(w http.ResponseWriter, r *http.Request)
Delete is HTTP handler of DELETE model.Request. Use for removing records on DNS server.
func (*RestRegistryRootService) Read ¶
func (s *RestRegistryRootService) Read(w http.ResponseWriter, r *http.Request)
Read is HTTP handler of GET model.Request. Use for reading existed records on DNS server.
func (*RestRegistryRootService) Update ¶
func (s *RestRegistryRootService) Update(w http.ResponseWriter, r *http.Request)
Update is HTTP handler of PUT model.Request. Use for updating existed records on DNS server.
Click to show internal directories.
Click to hide internal directories.