// MarkSink sets the condition that the source has a sink configured.
MarkSink sets the condition that the source has a sink configured.
// MarkSink sets the condition that the source has a sink configured .
func (s *DockerHubSourceStatus) MarkSink(uri *apis.URL) {
	s.SinkURI = uri
	if len(uri.String()) > 0 {
		dockerHubCondSet.Manage(s).MarkTrue(DockerHubSourceConditionSinkProvided)
	} else {
		dockerHubCondSet.Manage(s).MarkUnknown(DockerHubSourceConditionSinkProvided,
			"SinkEmpty", "Sink has resolved to empty.%s", "")
	}
}
func ( s * DockerHubSourceStatus ) MarkSink ( uri * apis . URL ) { s . SinkURI = uri if len ( uri . String ( ) ) > 0 { dockerHubCondSet . Manage ( s ) . MarkTrue ( DockerHubSourceConditionSinkProvided ) } else { dockerHubCondSet . Manage ( s ) . MarkUnknown ( DockerHubSourceConditionSinkProvided , " " , " " , " " ) } }
MarkSink sets the condition that the source has a sink configured.
MarkSink sets the condition that the source has a sink configured .