func (c gitlabContainerRegistry) Ping() error {
	if !c.repoDetails.IsPrivate() {
		// The root gitlab endpoint requires credentials.
		// Anonymous login does not work.
		return nil
	}
	return c.baseClient.Ping()
}
// Ping pings the gitlab endpoint.
Ping pings the gitlab endpoint.
// Ping pings the gitlab endpoint .
func (c gitlabContainerRegistry) Ping() error {
	if !c.repoDetails.IsPrivate() {
		return nil
	}
	return c.baseClient.Ping()
}
func ( c gitlabContainerRegistry ) Ping ( ) error { if ! c . repoDetails . IsPrivate ( ) { return nil } return c . baseClient . Ping ( ) }
Ping pings the gitlab endpoint.
Ping pings the gitlab endpoint .
// The root gitlab endpoint requires credentials. // Anonymous login does not work.