Versions in this module Expand all Collapse all v0 v0.15.1 Nov 29, 2024 v0.15.0 Nov 26, 2024 Changes in this version + type ConfigReader struct + func NewConfigReader(t interface{ ... }) *ConfigReader + func (_m *ConfigReader) ReadConfig(_a0 bootstrap.Config, _a1 bool) (interface{}, error) + type ConfigRepository struct + func NewConfigRepository(t interface{ ... }) *ConfigRepository + func (_m *ConfigRepository) ChangeState(ctx context.Context, domainID string, id string, state bootstrap.State) error + func (_m *ConfigRepository) ConnectThing(ctx context.Context, channelID string, thingID string) error + func (_m *ConfigRepository) DisconnectThing(ctx context.Context, channelID string, thingID string) error + func (_m *ConfigRepository) ListExisting(ctx context.Context, domainID string, ids []string) ([]bootstrap.Channel, error) + func (_m *ConfigRepository) Remove(ctx context.Context, domainID string, id string) error + func (_m *ConfigRepository) RemoveChannel(ctx context.Context, id string) error + func (_m *ConfigRepository) RemoveThing(ctx context.Context, id string) error + func (_m *ConfigRepository) RetrieveAll(ctx context.Context, domainID string, thingIDs []string, ...) bootstrap.ConfigsPage + func (_m *ConfigRepository) RetrieveByExternalID(ctx context.Context, externalID string) (bootstrap.Config, error) + func (_m *ConfigRepository) RetrieveByID(ctx context.Context, domainID string, id string) (bootstrap.Config, error) + func (_m *ConfigRepository) Save(ctx context.Context, cfg bootstrap.Config, chsConnIDs []string) (string, error) + func (_m *ConfigRepository) Update(ctx context.Context, cfg bootstrap.Config) error + func (_m *ConfigRepository) UpdateCert(ctx context.Context, domainID string, thingID string, clientCert string, ...) (bootstrap.Config, error) + func (_m *ConfigRepository) UpdateChannel(ctx context.Context, c bootstrap.Channel) error + func (_m *ConfigRepository) UpdateConnections(ctx context.Context, domainID string, id string, channels []bootstrap.Channel, ...) error + type Service struct + func NewService(t interface{ ... }) *Service + func (_m *Service) Add(ctx context.Context, session authn.Session, token string, cfg bootstrap.Config) (bootstrap.Config, error) + func (_m *Service) Bootstrap(ctx context.Context, externalKey string, externalID string, secure bool) (bootstrap.Config, error) + func (_m *Service) ChangeState(ctx context.Context, session authn.Session, token string, id string, ...) error + func (_m *Service) ConnectThingHandler(ctx context.Context, channelID string, ThingID string) error + func (_m *Service) DisconnectThingHandler(ctx context.Context, channelID string, ThingID string) error + func (_m *Service) List(ctx context.Context, session authn.Session, filter bootstrap.Filter, ...) (bootstrap.ConfigsPage, error) + func (_m *Service) Remove(ctx context.Context, session authn.Session, id string) error + func (_m *Service) RemoveChannelHandler(ctx context.Context, id string) error + func (_m *Service) RemoveConfigHandler(ctx context.Context, id string) error + func (_m *Service) Update(ctx context.Context, session authn.Session, cfg bootstrap.Config) error + func (_m *Service) UpdateCert(ctx context.Context, session authn.Session, thingID string, clientCert string, ...) (bootstrap.Config, error) + func (_m *Service) UpdateChannelHandler(ctx context.Context, channel bootstrap.Channel) error + func (_m *Service) UpdateConnections(ctx context.Context, session authn.Session, token string, id string, ...) error + func (_m *Service) View(ctx context.Context, session authn.Session, id string) (bootstrap.Config, error) v0.14.0 Jan 29, 2024 Changes in this version + func NewConfigsRepository() bootstrap.ConfigRepository