Documentation ¶
Index ¶
- type ApiKey
- type Application
- type Endpoint
- func (a *Endpoint) NewDomainModel() *domain.Endpoint
- func (a *Endpoint) Save() models.Endpoint
- func (a *Endpoint) WithAppID(value string) *Endpoint
- func (a *Endpoint) WithEventTypeIDs(eventTypeIDs []string) *Endpoint
- func (a *Endpoint) WithSigningSecret(value string) *Endpoint
- func (a *Endpoint) WithURL(value string) *Endpoint
- type Environment
- func (e *Environment) NewDomainModel() *domain.Environment
- func (e *Environment) Save() models.Environment
- func (e *Environment) WithArchivedAt(value time.Time) *Environment
- func (e *Environment) WithEnvType(value string) *Environment
- func (e *Environment) WithID(id string) *Environment
- func (e *Environment) WithName(value string) *Environment
- func (e *Environment) WithOrganizationID(value string) *Environment
- type EventType
- func (a *EventType) NewDomainModel() *domain.EventType
- func (a *EventType) Save() models.EventType
- func (a *EventType) WithArchivedAt(value time.Time) *EventType
- func (a *EventType) WithDescription(value string) *EventType
- func (a *EventType) WithName(value string) *EventType
- func (a *EventType) WithOrgID(value string) *EventType
- func (a *EventType) WithSchema(value string) *EventType
- func (a *EventType) WithSchemaExample(value string) *EventType
- type Factory
- func (f *Factory) NewApiKey() *ApiKey
- func (f *Factory) NewApplication() *Application
- func (f *Factory) NewEndpoint() *Endpoint
- func (f *Factory) NewEnvironment() *Environment
- func (f *Factory) NewEventType() *EventType
- func (f *Factory) NewMember() *Member
- func (f *Factory) NewOrganization() *Organization
- type Member
- func (m *Member) NewDomainModel() *iam.Member
- func (m *Member) Save() (models.Member, string)
- func (m *Member) WithEmail(value string) *Member
- func (m *Member) WithFirstName(value string) *Member
- func (m *Member) WithID(id string) *Member
- func (m *Member) WithLastName(value string) *Member
- func (m *Member) WithOrganizationID(value string) *Member
- type Organization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiKey ¶
type ApiKey struct {
// contains filtered or unexported fields
}
func (*ApiKey) WithEnvironmentID ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func (*Application) NewDomainModel ¶
func (a *Application) NewDomainModel() *domain.Application
func (*Application) Save ¶
func (a *Application) Save() models.Application
func (*Application) WithEnvironmentID ¶
func (a *Application) WithEnvironmentID(value string) *Application
func (*Application) WithName ¶
func (a *Application) WithName(value string) *Application
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
func (*Endpoint) NewDomainModel ¶
func (*Endpoint) WithEventTypeIDs ¶
func (*Endpoint) WithSigningSecret ¶
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
func (*Environment) NewDomainModel ¶
func (e *Environment) NewDomainModel() *domain.Environment
func (*Environment) Save ¶
func (e *Environment) Save() models.Environment
func (*Environment) WithArchivedAt ¶
func (e *Environment) WithArchivedAt(value time.Time) *Environment
func (*Environment) WithEnvType ¶
func (e *Environment) WithEnvType(value string) *Environment
func (*Environment) WithID ¶
func (e *Environment) WithID(id string) *Environment
func (*Environment) WithName ¶
func (e *Environment) WithName(value string) *Environment
func (*Environment) WithOrganizationID ¶
func (e *Environment) WithOrganizationID(value string) *Environment
type EventType ¶
type EventType struct {
// contains filtered or unexported fields
}
func (*EventType) NewDomainModel ¶
func (*EventType) WithDescription ¶
func (*EventType) WithSchema ¶
func (*EventType) WithSchemaExample ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory An utility to facilitate the creation of mock data for testing purposes.
func (*Factory) NewApplication ¶
func (f *Factory) NewApplication() *Application
func (*Factory) NewEndpoint ¶
func (*Factory) NewEnvironment ¶
func (f *Factory) NewEnvironment() *Environment
func (*Factory) NewEventType ¶
func (*Factory) NewOrganization ¶
func (f *Factory) NewOrganization() *Organization
type Member ¶
type Member struct {
// contains filtered or unexported fields
}
func (*Member) NewDomainModel ¶
func (*Member) WithFirstName ¶
func (*Member) WithLastName ¶
func (*Member) WithOrganizationID ¶
type Organization ¶
type Organization struct {
// contains filtered or unexported fields
}
func (*Organization) Save ¶
func (o *Organization) Save() models.Organization
func (*Organization) WithDisabledAt ¶
func (o *Organization) WithDisabledAt(disabledAt time.Time) *Organization
Click to show internal directories.
Click to hide internal directories.