Documentation ¶
Index ¶
- Constants
- type Service
- func (service *Service) CreateRegistry(registry *baasapi.Registry) error
- func (service *Service) DeleteRegistry(ID baasapi.RegistryID) error
- func (service *Service) Registries() ([]baasapi.Registry, error)
- func (service *Service) Registry(ID baasapi.RegistryID) (*baasapi.Registry, error)
- func (service *Service) UpdateRegistry(ID baasapi.RegistryID, registry *baasapi.Registry) error
Constants ¶
View Source
const (
// BucketName represents the name of the bucket where this service stores data.
BucketName = "registries"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents a service for managing baask8s data.
func NewService ¶
NewService creates a new instance of a service.
func (*Service) CreateRegistry ¶
CreateRegistry creates a new registry.
func (*Service) DeleteRegistry ¶
DeleteRegistry deletes an registry.
func (*Service) Registries ¶
Registries returns an array containing all the registries.
func (*Service) UpdateRegistry ¶
UpdateRegistry updates an registry.
Click to show internal directories.
Click to hide internal directories.