type EventSourceApplyConfiguration … // EventSourceApplyConfiguration constructs a declarative configuration of the EventSource type for use with // apply. func EventSource() *EventSourceApplyConfiguration { … } // WithComponent sets the Component field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Component field is set to the value of the last call. func (b *EventSourceApplyConfiguration) WithComponent(value string) *EventSourceApplyConfiguration { … } // WithHost sets the Host field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Host field is set to the value of the last call. func (b *EventSourceApplyConfiguration) WithHost(value string) *EventSourceApplyConfiguration { … }