client/lxd_containers.go
func (r *ProtocolLXD) DeleteContainerTemplateFile(name string, templateName string) error {
	if !r.HasExtension("container_edit_metadata") {
		return fmt.Errorf("The server is missing the required \"container_edit_metadata\" API extension")
	}
	_, _, err := r.query("DELETE", fmt.Sprintf("/containers/%s/metadata/templates?path=%s", url.QueryEscape(name), url.QueryEscape(templateName)), nil, "")
	return err
}
func (r *ProtocolLXD) DeleteContainerTemplateFile(name string, templateName string) error {
	if !r.HasExtension("container_edit_metadata") {
		return fmt.Errorf("The server is missing the required \"container_edit_metadata\" API extension")
	}
	_, _, err := r.query("DELETE", fmt.Sprintf("/containers/%s/metadata/templates?path=%s", url.QueryEscape(name), url.QueryEscape(templateName)), nil, "")
	return err
}
func ( r * ProtocolLXD ) DeleteContainerTemplateFile ( name string , templateName string ) error { if ! r . HasExtension ( " " ) { return fmt . Errorf ( " \" \" " ) } _ , _ , err := r . query ( " " , fmt . Sprintf ( " " , url . QueryEscape ( name ) , url . QueryEscape ( templateName ) ) , nil , " " ) return err }
// DeleteContainerTemplateFile deletes a template file for a container.
DeleteContainerTemplateFile deletes a template file for a container .