Documentation ¶
Index ¶
- type EventSource
- type EventSourceID
- func (id EventSourceID) AccountName() apiaccount.AccountName
- func (id EventSourceID) Empty() bool
- func (id EventSourceID) EventSourceName() EventSourceName
- func (id *EventSourceID) MaybeString() string
- func (id EventSourceID) Split() (apiaccount.AccountName, EventSourceName)
- func (id EventSourceID) String() string
- type EventSourceName
- type EventSourcePB
- type EventSourceProjectBinding
- func EventSourceProjectBindingFromProto(pb *pbeventsrc.EventSourceProjectBinding) (*EventSourceProjectBinding, error)
- func MustNewEventSourceProjectBinding(srcid EventSourceID, pid apiproject.ProjectID, name string, assoc, cfg string, ...) *EventSourceProjectBinding
- func NewEventSourceProjectBinding(srcid EventSourceID, pid apiproject.ProjectID, name string, assoc, cfg string, ...) (*EventSourceProjectBinding, error)
- func (b *EventSourceProjectBinding) Approved() bool
- func (b *EventSourceProjectBinding) AssociationToken() string
- func (b *EventSourceProjectBinding) Clone() *EventSourceProjectBinding
- func (b *EventSourceProjectBinding) EventSourceID() EventSourceID
- func (p *EventSourceProjectBinding) MarshalJSON() ([]byte, error)
- func (b *EventSourceProjectBinding) Name() string
- func (b *EventSourceProjectBinding) PB() *pbeventsrc.EventSourceProjectBinding
- func (b *EventSourceProjectBinding) ProjectID() apiproject.ProjectID
- func (b *EventSourceProjectBinding) Settings() *EventSourceProjectBindingSettings
- func (b *EventSourceProjectBinding) SourceConfig() string
- func (p *EventSourceProjectBinding) UnmarshalJSON(bs []byte) error
- func (b *EventSourceProjectBinding) WithName(name string) *EventSourceProjectBinding
- func (b *EventSourceProjectBinding) WithoutTimes() *EventSourceProjectBinding
- type EventSourceProjectBindingPB
- type EventSourceProjectBindingSettings
- func (a *EventSourceProjectBindingSettings) Clone() *EventSourceProjectBindingSettings
- func (a *EventSourceProjectBindingSettings) Enabled() bool
- func (p *EventSourceProjectBindingSettings) MarshalJSON() ([]byte, error)
- func (a *EventSourceProjectBindingSettings) PB() *pbeventsrc.EventSourceProjectBindingSettings
- func (a *EventSourceProjectBindingSettings) SetEnabled(e bool) *EventSourceProjectBindingSettings
- func (p *EventSourceProjectBindingSettings) UnmarshalJSON(bs []byte) error
- type EventSourceProjectBindingSettingsPB
- type EventSourceSettings
- func (a *EventSourceSettings) Clone() *EventSourceSettings
- func (a *EventSourceSettings) Enabled() bool
- func (s *EventSourceSettings) MarshalJSON() ([]byte, error)
- func (a *EventSourceSettings) PB() *pbeventsrc.EventSourceSettings
- func (a *EventSourceSettings) SetEnabled(e bool) *EventSourceSettings
- func (a *EventSourceSettings) SetTypes(ts []string) *EventSourceSettings
- func (a *EventSourceSettings) Types() []string
- func (s *EventSourceSettings) UnmarshalJSON(bs []byte) error
- type EventSourceSettingsPB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSource ¶
type EventSource struct {
// contains filtered or unexported fields
}
func EventSourceFromProto ¶
func EventSourceFromProto(pb *pbeventsrc.EventSource) (*EventSource, error)
func NewEventSource ¶
func NewEventSource( id EventSourceID, settings *EventSourceSettings, createdAt time.Time, updatedAt *time.Time, ) (*EventSource, error)
func (*EventSource) Clone ¶
func (s *EventSource) Clone() *EventSource
func (*EventSource) ID ¶
func (s *EventSource) ID() EventSourceID
func (*EventSource) MarshalJSON ¶
func (s *EventSource) MarshalJSON() ([]byte, error)
func (*EventSource) PB ¶
func (s *EventSource) PB() *pbeventsrc.EventSource
func (*EventSource) Settings ¶
func (s *EventSource) Settings() *EventSourceSettings
func (*EventSource) UnmarshalJSON ¶
func (s *EventSource) UnmarshalJSON(bs []byte) error
type EventSourceID ¶
type EventSourceID string
func (EventSourceID) AccountName ¶
func (id EventSourceID) AccountName() apiaccount.AccountName
func (EventSourceID) Empty ¶
func (id EventSourceID) Empty() bool
func (EventSourceID) EventSourceName ¶
func (id EventSourceID) EventSourceName() EventSourceName
func (*EventSourceID) MaybeString ¶
func (id *EventSourceID) MaybeString() string
func (EventSourceID) Split ¶
func (id EventSourceID) Split() (apiaccount.AccountName, EventSourceName)
func (EventSourceID) String ¶
func (id EventSourceID) String() string
type EventSourceName ¶
type EventSourceName string
func (EventSourceName) String ¶
func (n EventSourceName) String() string
type EventSourcePB ¶
type EventSourcePB = pbeventsrc.EventSource
type EventSourceProjectBinding ¶
type EventSourceProjectBinding struct {
// contains filtered or unexported fields
}
func EventSourceProjectBindingFromProto ¶
func EventSourceProjectBindingFromProto(pb *pbeventsrc.EventSourceProjectBinding) (*EventSourceProjectBinding, error)
func MustNewEventSourceProjectBinding ¶
func MustNewEventSourceProjectBinding( srcid EventSourceID, pid apiproject.ProjectID, name string, assoc, cfg string, approved bool, settings *EventSourceProjectBindingSettings, createdAt time.Time, updatedAt *time.Time, ) *EventSourceProjectBinding
func NewEventSourceProjectBinding ¶
func NewEventSourceProjectBinding( srcid EventSourceID, pid apiproject.ProjectID, name string, assoc, cfg string, approved bool, settings *EventSourceProjectBindingSettings, createdAt time.Time, updatedAt *time.Time, ) (*EventSourceProjectBinding, error)
func (*EventSourceProjectBinding) Approved ¶
func (b *EventSourceProjectBinding) Approved() bool
func (*EventSourceProjectBinding) AssociationToken ¶
func (b *EventSourceProjectBinding) AssociationToken() string
func (*EventSourceProjectBinding) Clone ¶
func (b *EventSourceProjectBinding) Clone() *EventSourceProjectBinding
func (*EventSourceProjectBinding) EventSourceID ¶
func (b *EventSourceProjectBinding) EventSourceID() EventSourceID
func (*EventSourceProjectBinding) MarshalJSON ¶
func (p *EventSourceProjectBinding) MarshalJSON() ([]byte, error)
func (*EventSourceProjectBinding) Name ¶
func (b *EventSourceProjectBinding) Name() string
func (*EventSourceProjectBinding) PB ¶
func (b *EventSourceProjectBinding) PB() *pbeventsrc.EventSourceProjectBinding
func (*EventSourceProjectBinding) ProjectID ¶
func (b *EventSourceProjectBinding) ProjectID() apiproject.ProjectID
func (*EventSourceProjectBinding) Settings ¶
func (b *EventSourceProjectBinding) Settings() *EventSourceProjectBindingSettings
func (*EventSourceProjectBinding) SourceConfig ¶
func (b *EventSourceProjectBinding) SourceConfig() string
func (*EventSourceProjectBinding) UnmarshalJSON ¶
func (p *EventSourceProjectBinding) UnmarshalJSON(bs []byte) error
func (*EventSourceProjectBinding) WithName ¶ added in v0.6.0
func (b *EventSourceProjectBinding) WithName(name string) *EventSourceProjectBinding
func (*EventSourceProjectBinding) WithoutTimes ¶
func (b *EventSourceProjectBinding) WithoutTimes() *EventSourceProjectBinding
type EventSourceProjectBindingPB ¶
type EventSourceProjectBindingPB = pbeventsrc.EventSourceProjectBinding
type EventSourceProjectBindingSettings ¶
type EventSourceProjectBindingSettings struct {
// contains filtered or unexported fields
}
func EventSourceProjectBindingSettingsFromProto ¶
func EventSourceProjectBindingSettingsFromProto(pb *pbeventsrc.EventSourceProjectBindingSettings) (*EventSourceProjectBindingSettings, error)
func MustEventSourceProjectBindingSettingsFromProto ¶
func MustEventSourceProjectBindingSettingsFromProto(pb *pbeventsrc.EventSourceProjectBindingSettings) *EventSourceProjectBindingSettings
func (*EventSourceProjectBindingSettings) Clone ¶
func (a *EventSourceProjectBindingSettings) Clone() *EventSourceProjectBindingSettings
func (*EventSourceProjectBindingSettings) Enabled ¶
func (a *EventSourceProjectBindingSettings) Enabled() bool
func (*EventSourceProjectBindingSettings) MarshalJSON ¶
func (p *EventSourceProjectBindingSettings) MarshalJSON() ([]byte, error)
func (*EventSourceProjectBindingSettings) SetEnabled ¶
func (a *EventSourceProjectBindingSettings) SetEnabled(e bool) *EventSourceProjectBindingSettings
func (*EventSourceProjectBindingSettings) UnmarshalJSON ¶
func (p *EventSourceProjectBindingSettings) UnmarshalJSON(bs []byte) error
type EventSourceProjectBindingSettingsPB ¶
type EventSourceProjectBindingSettingsPB = pbeventsrc.EventSourceProjectBindingSettings
type EventSourceSettings ¶
type EventSourceSettings struct {
// contains filtered or unexported fields
}
func EventSourceSettingsFromProto ¶
func EventSourceSettingsFromProto(pb *pbeventsrc.EventSourceSettings) (*EventSourceSettings, error)
func MustEventSourceSettingsFromProto ¶
func MustEventSourceSettingsFromProto(pb *pbeventsrc.EventSourceSettings) *EventSourceSettings
func (*EventSourceSettings) Clone ¶
func (a *EventSourceSettings) Clone() *EventSourceSettings
func (*EventSourceSettings) Enabled ¶
func (a *EventSourceSettings) Enabled() bool
func (*EventSourceSettings) MarshalJSON ¶
func (s *EventSourceSettings) MarshalJSON() ([]byte, error)
func (*EventSourceSettings) PB ¶
func (a *EventSourceSettings) PB() *pbeventsrc.EventSourceSettings
func (*EventSourceSettings) SetEnabled ¶
func (a *EventSourceSettings) SetEnabled(e bool) *EventSourceSettings
func (*EventSourceSettings) SetTypes ¶
func (a *EventSourceSettings) SetTypes(ts []string) *EventSourceSettings
func (*EventSourceSettings) Types ¶
func (a *EventSourceSettings) Types() []string
func (*EventSourceSettings) UnmarshalJSON ¶
func (s *EventSourceSettings) UnmarshalJSON(bs []byte) error
type EventSourceSettingsPB ¶
type EventSourceSettingsPB = pbeventsrc.EventSourceSettings
Click to show internal directories.
Click to hide internal directories.