Documentation
¶
Index ¶
Constants ¶
View Source
const NAME = "PlatformEventSubscriberConfig"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlatformEventSubscriberConfig ¶
type PlatformEventSubscriberConfig struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"PlatformEventSubscriberConfig"`
Xmlns string `xml:"xmlns,attr"`
BatchSize struct {
Text string `xml:",chardata"`
} `xml:"batchSize"`
MasterLabel struct {
Text string `xml:",chardata"`
} `xml:"masterLabel"`
NumPartitions *struct {
Text string `xml:",chardata"`
} `xml:"numPartitions"`
PartitionKey *struct {
Text string `xml:",chardata"`
} `xml:"partitionKey"`
PlatformEventConsumer struct {
Text string `xml:",chardata"`
} `xml:"platformEventConsumer"`
User *TextLiteral `xml:"user"`
}
func Open ¶
func Open(path string) (*PlatformEventSubscriberConfig, error)
func (*PlatformEventSubscriberConfig) DeleteUser ¶
func (o *PlatformEventSubscriberConfig) DeleteUser()
func (*PlatformEventSubscriberConfig) SetMetadata ¶
func (c *PlatformEventSubscriberConfig) SetMetadata(m metadata.MetadataInfo)
func (*PlatformEventSubscriberConfig) Type ¶
func (c *PlatformEventSubscriberConfig) Type() metadata.MetadataType
func (*PlatformEventSubscriberConfig) UpdateUser ¶
func (o *PlatformEventSubscriberConfig) UpdateUser(user string)
Click to show internal directories.
Click to hide internal directories.