mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Update Vendor (#16325)
* Add Dependencie Update Script * update gitea.com/lunny/levelqueue * update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-redis/redis/v8 * update github.com/hashicorp/golang-lru * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/olivere/elastic/v7 * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark
This commit is contained in:
		
							
								
								
									
										28
									
								
								vendor/github.com/olivere/elastic/v7/client.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								vendor/github.com/olivere/elastic/v7/client.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -26,7 +26,7 @@ import ( | ||||
|  | ||||
| const ( | ||||
| 	// Version is the current version of Elastic. | ||||
| 	Version = "7.0.24" | ||||
| 	Version = "7.0.25" | ||||
|  | ||||
| 	// DefaultURL is the default endpoint of Elasticsearch on the local machine. | ||||
| 	// It is used e.g. when initializing a new Client without a specific URL. | ||||
| @@ -1842,7 +1842,31 @@ func (c *Client) IndexDeleteIndexTemplate(name string) *IndicesDeleteIndexTempla | ||||
| 	return NewIndicesDeleteIndexTemplateService(c).Name(name) | ||||
| } | ||||
|  | ||||
| // -- TODO Component templates -- | ||||
| // -- Component templates -- | ||||
|  | ||||
| // IndexPutComponentTemplate creates or updates a component template (available since 7.8). | ||||
| // | ||||
| // This service implements the component templates as described | ||||
| // on https://www.elastic.co/guide/en/elasticsearch/reference/7.10/indices-component-template.html. | ||||
| func (c *Client) IndexPutComponentTemplate(name string) *IndicesPutComponentTemplateService { | ||||
| 	return NewIndicesPutComponentTemplateService(c).Name(name) | ||||
| } | ||||
|  | ||||
| // IndexGetComponentTemplate returns a component template (available since 7.8). | ||||
| // | ||||
| // This service implements the component templates as described | ||||
| // on https://www.elastic.co/guide/en/elasticsearch/reference/7.10/getting-component-templates.html. | ||||
| func (c *Client) IndexGetComponentTemplate(name string) *IndicesGetComponentTemplateService { | ||||
| 	return NewIndicesGetComponentTemplateService(c).Name(name) | ||||
| } | ||||
|  | ||||
| // IndexDeleteComponentTemplate deletes a component template (available since 7.8). | ||||
| // | ||||
| // This service implements the component templates as described | ||||
| // on https://www.elastic.co/guide/en/elasticsearch/reference/7.10/indices-delete-component-template.html. | ||||
| func (c *Client) IndexDeleteComponentTemplate(name string) *IndicesDeleteComponentTemplateService { | ||||
| 	return NewIndicesDeleteComponentTemplateService(c).Name(name) | ||||
| } | ||||
|  | ||||
| // GetMapping gets a mapping. | ||||
| func (c *Client) GetMapping() *IndicesGetMappingService { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user