Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SubscriberTypeFunction captures enum value "function" SubscriberTypeFunction string = "function" // SubscriberTypeEvent captures enum value "event" SubscriberTypeEvent string = "event" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// key
Key string `json:"key,omitempty"`
// value
Value string `json:"value,omitempty"`
}
func (*Config) MarshalBinary ¶
MarshalBinary interface implementation
func (*Config) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Driver ¶
type Driver struct {
// config
Config DriverConfig `json:"config"`
// created time
// Read Only: true
CreatedTime int64 `json:"createdTime,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modifiedTime,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
// tags
Tags DriverTags `json:"tags"`
// type
// Required: true
Type *string `json:"type"`
}
func (*Driver) MarshalBinary ¶
MarshalBinary interface implementation
func (*Driver) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DriverConfig ¶
type DriverConfig []*Config
type DriverTags ¶
type DriverTags []*Tag
type Emission ¶
type Emission struct {
// emitted time
// Read Only: true
EmittedTime int64 `json:"emittedTime,omitempty"`
// id
// Read Only: true
ID strfmt.UUID `json:"id,omitempty"`
// payload
Payload interface{} `json:"payload,omitempty"`
// topic
// Required: true
// Pattern: ^[\w\d\-\.]+$
Topic *string `json:"topic"`
}
func (*Emission) MarshalBinary ¶
MarshalBinary interface implementation
func (*Emission) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// code
Code int64 `json:"code,omitempty"`
// function error
FunctionError interface{} `json:"functionError,omitempty"`
// message
// Required: true
Message *string `json:"message"`
// user error
UserError interface{} `json:"userError,omitempty"`
}
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GetDriversOKBody ¶
type GetDriversOKBody []*Driver
type GetSubscriptionsOKBody ¶
type GetSubscriptionsOKBody []*Subscription
type Status ¶
type Status string
const ( // StatusCREATING captures enum value "CREATING" StatusCREATING Status = "CREATING" // StatusREADY captures enum value "READY" StatusREADY Status = "READY" // StatusUPDATING captures enum value "UPDATING" StatusUPDATING Status = "UPDATING" // StatusERROR captures enum value "ERROR" StatusERROR Status = "ERROR" // StatusDELETING captures enum value "DELETING" StatusDELETING Status = "DELETING" )
type Subscriber ¶
type Subscriber struct {
// name
// Required: true
Name *string `json:"name"`
// type
// Required: true
Type *string `json:"type"`
}
func (*Subscriber) MarshalBinary ¶
func (m *Subscriber) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscriber) UnmarshalBinary ¶
func (m *Subscriber) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Subscription ¶
type Subscription struct {
// created time
// Read Only: true
CreatedTime int64 `json:"createdTime,omitempty"`
// id
// Read Only: true
ID strfmt.UUID `json:"id,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modifiedTime,omitempty"`
// name
// Pattern: ^[\w\d\-]+$
Name string `json:"name,omitempty"`
// secrets
Secrets []string `json:"secrets"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
// subscriber
// Required: true
Subscriber *Subscriber `json:"subscriber"`
// tags
Tags SubscriptionTags `json:"tags"`
// topic
// Required: true
// Pattern: ^[\w\d\-\.]+$
Topic *string `json:"topic"`
}
func (*Subscription) MarshalBinary ¶
func (m *Subscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscription) UnmarshalBinary ¶
func (m *Subscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriptionTags ¶
type SubscriptionTags []*Tag
type Tag ¶
type Tag struct {
// key
Key string `json:"key,omitempty"`
// value
Value string `json:"value,omitempty"`
}
func (*Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.