// MarkEndpoint sets the URL endpoint that the source has been provided.
MarkEndpoint sets the URL endpoint that the source has been provided.
// MarkEndpoint sets the URL endpoint that the source has been provided .
func (s *DockerHubSourceStatus) MarkEndpoint(uri *apis.URL) {
	s.URL = uri
	if len(uri.String()) > 0 {
		dockerHubCondSet.Manage(s).MarkTrue(DockerHubSourceConditionEndpointProvided)
	} else {
		dockerHubCondSet.Manage(s).MarkUnknown(DockerHubSourceConditionEndpointProvided,
			"EndpointEmpty", "Endpoint URL has resolved to empty.%s", "")
	}
}
func ( s * DockerHubSourceStatus ) MarkEndpoint ( uri * apis . URL ) { s . URL = uri if len ( uri . String ( ) ) > 0 { dockerHubCondSet . Manage ( s ) . MarkTrue ( DockerHubSourceConditionEndpointProvided ) } else { dockerHubCondSet . Manage ( s ) . MarkUnknown ( DockerHubSourceConditionEndpointProvided , " " , " " , " " ) } }
MarkEndpoint sets the URL endpoint that the source has been provided.
MarkEndpoint sets the URL endpoint that the source has been provided .