Documentation ¶
Index ¶
- Constants
- type Service
- func (service *Service) Baasmsp(ID baasapi.BaasmspID) (*baasapi.Baasmsp, error)
- func (service *Service) Baasmsps() ([]baasapi.Baasmsp, error)
- func (service *Service) CreateBaasmsp(baasmsp *baasapi.Baasmsp) error
- func (service *Service) DeleteBaasmsp(ID baasapi.BaasmspID) error
- func (service *Service) GetNextIdentifier() int
Constants ¶
View Source
const (
// BucketName represents the name of the bucket where this service stores data.
BucketName = "baasmsps"
)
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) CreateBaasmsp ¶
CreateBaasmsp assign an ID to a new baask8s and saves it.
func (*Service) DeleteBaasmsp ¶
DeleteBaasmsp deletes an baasmsp.
func (*Service) GetNextIdentifier ¶
GetNextIdentifier returns the next identifier for an baask8s.
Click to show internal directories.
Click to hide internal directories.